I have 4 folders in my res folder for layouts:
(layout-ldpi, layout-mdpi, layout-hdpi, layout-xxhdpi (for Galaxy S4)).

With some apps I made, the xxhdpi was used automaticaly for the Galaxy S3.
In the app I am building now, the layout on Galaxy S3 remains a mess.

Do I have to make an xhdpi folder for this device or does it exist a better way to do this?

有帮助吗?

解决方案

其他提示

It's work in res

  1. layout-xlarge
  2. layout-large
  3. layout-normal
  4. layout-small

and create same xml in different size layout folder so that you can custom layout in different size device

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top