Define the layout for the screen size 5 "- 7"

I want to define different layouts specifically for 5-7 inch screens. How can i do this?

For example: for screens larger than 7 inches, I defined layouts in the layout-sw6000dp . How can I do the same for 5-7 inch screens?

0
android android-layout
source share
1 answer

Place them in a large layout and use dp as the unit.

Large is defined as 4.5-7 inches:

http://developer.android.com/guide/practices/screens_support.html#range

You can also switch from using layout-sw600dp to layout-xlarge for your 7-inch layouts.

+1
source share

All Articles