I have developed an Android application targeting Android 2.2 now I want to make it compatible with Android 3.2
I am facing the following interface differences between these two apps
- EditText background
- Tab host size; I gave fill_parent which work perfectly in Android 2.2 on all devices but in Android 3.2 it reduces its size to almost half of screen.
- Background color of Buttons are different
- Font size in Android 3.2 is smaller than Android 2.2 application.
etc … etc
please help
For Android 3.2 use
<resource>-sw600dpe.gdrawable-sw600dpandvalues-sw600dpwith combination ofres/layout/main_activity.xml# For handsets (smaller than 600dp available width)res/layout-sw600dp/main_activity.xml# For 7” tablets (600dp wide and bigger)res/layout-sw720dp/main_activity.xml# For 10” tablets (720dp wide and bigger)Here is reference:
Supporting Multiple Screens