compatibility - android best practice for supporting multiple screens -
compatibility - android best practice for supporting multiple screens -
given:
starting api level 13 (android 3.2), screen sizes (small,normal,large,xlarge) deprecated in favor of using swdp qualifier. recommended applications meant run on android 3.2 or higher should using these newer qualifiers. http://developer.android.com/guide/practices/screens_support.html
then:
what best practice maintaining compatability api 7+ without making problem more complicated using both techniques @ same time?
to clarify: when creating resource folders alternate layouts, dimensions,values, etc, requirement of supporting api 7+, should utilize deprecated qualifiers (small, normal, large, xlarge) or new qualifiers (sw600dp, sw800dp etc) or both @ same time?
update: found similar question accepted reply suggested using older abstract size bin qualifiers: http://stackoverflow.com/a/15113877
use layout aliases.
quotation official documentation:
"the smallest-width qualifier available on android 3.2 , above. therefore, should still utilize abstract size bins (small, normal, big , xlarge) compatible before versions."
here link more info - use layout aliases
android compatibility screen-size
Comments
Post a Comment