Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android 2.2 support xlargescreen layout

Tags:

android

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?

like image 790
aditimirani Avatar asked Mar 31 '26 07:03

aditimirani


1 Answers

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...

like image 69
jschlepp Avatar answered Apr 02 '26 20:04

jschlepp



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!