Monday 12 January 2015

How to declare the layout for 7inch tablet android

17:33:00 Posted by Kumanan
In the rare case where you want to further customize your UI, For example for 7” vs. 10” tablets, you can also define smallest widths:

res/layout/main_activity.xml           # For phones
res/layout-sw600dp/main_activity.xml   # For 7” tablets
res/layout-sw720dp/main_activity.xml   # For 10” tablets

and just check out this for 7” vs. 10” tablets:--

New Tools For Managing Screen Sizes.