What should I have to write in manifest for android application screen compatibility for multiple android devices? I tried compatible and support screen but its taking only normal layout.
Asked
Active
Viewed 113 times
-7
-
we can put in layout side – Sunil Kumar May 13 '13 at 06:14
-
By default, an android app will run on any device that is greater than or equal to the minSdkVersion. Is it not running at all on the other device? Or is it looking different than you expect? And if so, what did you expect and what did you get? – Gabe Sechan May 13 '13 at 06:15
-
@Gabe Sechan: I wrote the separate layout for each xml according the corresponding density but still it's running according to layout-normal.I mean Xhdpi have to take layout-xlarge but it's taking layout-normal xml.What should I have to do? – vinay May 13 '13 at 08:04
1 Answers
1
I think you are looking for this
<supports-screens android:resizeable=["true"| "false"]
android:smallScreens=["true" | "false"]
android:normalScreens=["true" | "false"]
android:largeScreens=["true" | "false"]
android:xlargeScreens=["true" | "false"]
android:anyDensity=["true" | "false"]
android:requiresSmallestWidthDp="integer"
android:compatibleWidthLimitDp="integer"
android:largestWidthLimitDp="integer"/>
But Seriously By giving this you can not achieve what you are looking for
Read this from developer site
also an example

edwin
- 7,985
- 10
- 51
- 82
-
@vinay see this http://stackoverflow.com/questions/5558534/do-i-need-14-different-layouts-to-support-all-android-devices – edwin May 13 '13 at 06:37
-
Hey I wrote the separate layout for each xml according the corresponding density but still it's running according to layout-normal.I mean Xhdpi have to take layout-xlarge but it's taking layout-normal xml.What should I have to do? – vinay May 13 '13 at 08:03