سؤال

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