Android: support multiple screens

后端 未结 4 1984
無奈伤痛
無奈伤痛 2020-11-30 13:16

I am trying to make a application in Android. I want that it should be able to run on multiple phones of different screen sizes, so i studied support multiple screen on deve

4条回答
  •  攒了一身酷
    2020-11-30 13:26

    I think it's less confusing David Ohanyan way, but forgot to say something... Whenever you can, use styles in your xx_layout, images, etc, so you'll have 1 layout.xml and 3 styles files inside folders: values, values-small, layout-large.

    At least for me, it's less confusing than opening 30 different layout files.

提交回复
热议问题