Android scale image for XXHDPI

481 views Asked by At

How can I make 2 separate layout folder for screens that are xxhdpi, and screens that are everything else? Thanks! I have right now just a layout folder for all my layouts

1

There are 1 answers

2
MiStr On BEST ANSWER

You can have folders under /res that are named as follows (where "xxhdpi" refers to the Density):

  • layout
  • layout-xxhdpi

However, you may actually be referring to the Size of the screen itself, which can be:

  • layout
  • layout-xlarge

as an example...

Please refer to the Android Providing Resources docs for more information on the flavors of folder names for resources.