문제

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