i have 3 activity_main.xml files in folder normal, large , xlarge file each, when run app on android studio emulator on nexus 4, nexus 7 , nexus 10 have regular main file showing not large or xlarge. missing something?.
as requested here's screenshots of files:
the correct folders limit between phone, 7" tablet , 10" tablet are:
layout/ (default) layout-sw600dp/ (7") layout-sw720dp/ (10")
sw
is: "smallest available width"
you can read more here: https://developer.android.com/guide/practices/screens_support.html
beginning android 3.2 (api level 13), above size groups deprecated , should instead use swdp configuration qualifier define smallest available width required layout resources
Comments
Post a Comment