Search code examples
androidandroid-manifestcompatibility

Android Application Compatibility


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.


Solution

  • 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