I am creating an android application which should support all screen size [normal,large,xlarge ],since I am creating application in android 2.2 which does not support xlarge screen size[like galaxy tablet 10.1]. so how can i create layout for devices which come under xlarge category?
As far as my understanding goes, the 'xlarge' attribute was introduced in v2.3 API (9). Using the "android:xlargeScreens="true"" attribute for 'supports-screens' in Manifest file with v2.2 minSdkVersion set gives a compiler error. You'll have to use v2.3.3 API (10) to support the xlarge tag.
Which leaves to question... how to simultaneously support v2.1, v2.2, etc. while also supporting xlarge (tablets, etc.)? Two different projects? :/ Don't like that answer...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With