开发者

Android UI Layout Different sizes

开发者 https://www.devze.com 2023-03-07 01:12 出处:网络
To support multiple screen sizes I should have layouts in layout-small, layout-norma开发者_StackOverflowl, and layout-large. If there is for example a main layout in large but not in the normal folder

To support multiple screen sizes I should have layouts in layout-small, layout-norma开发者_StackOverflowl, and layout-large. If there is for example a main layout in large but not in the normal folder, will a normal screen size phone default to the layout in the large folder? Is this true for drawable also?


Create the defaults in res/drawable/ and res/layout, and put your size specific values e.g. in res/layout-large or res/drawable-hdmi

Here is the link with the instructions: http://developer.android.com/guide/topics/resources/providing-resources.html#AlternativeResources

0

精彩评论

暂无评论...
验证码 换一张
取 消