Layout folder name for tablet 21"

259 views Asked by At

I have a tablet of 21" (hp slate) and I would like to create folder layout to suit my views on this type of screens, I wonder what name to choose for my folder: layout-xxxxdp!

1

There are 1 answers

4
shkschneider On

Given the screen dimensions and resolution, the screen's DPI is 105.

That would make it a xlarge+ screen but only ldpi.

You can use layout-xlarge-ldpi to target it.

EDIT

Applying the dp = px / (ppi / 160dp) formula, we can even use layout-sw2925dp I believe, because I calculated dp=2925 (I might be wrong, please correct me).

https://developer.android.com/guide/practices/screens_support.html