Android Universal App Approach

后端 未结 2 605
青春惊慌失措
青春惊慌失措 2020-12-30 09:27

I want to develop an universal app . I am novice to this approach .That means a single apk for both tablet and phone application . I had go through

Support Library<

2条回答
  •  囚心锁ツ
    2020-12-30 09:55

    findViewById will return the widget in case it's present in the layout, null in case there's no such widget. So if it returns non-null you can proceed with further initialization.

提交回复
热议问题