Will this (the way I'd like to do it):
<uses-sdk android:minSdkVersion="7" />
<uses-sdk android:maxSdkVersion="10" />
<supports-screens android:xlargeScreens="true" />
<supports-screens android:smallScreens="true" />
have the same effect as this (the way I've seen documented):
<uses-sdk android:minSdkVersion="7" android:maxSdkVersion="10" />
<supports-screens android:xlargeScreens="true" android:smallScreens="true" />
No errors during compilation and all elements remain in the compiled apk -- but I'm not sure if all the properties are taking effect.
Edit: So I guess part of my question is, how do I test the uses-sdk and supports-screens properties?
Why? I'm generating / modifying my AndroidManifest.xml from a script, and the first format is easier to render than the second.
Yes. You could have tried it and see if you get any errors or if everything works. Then I think the question would be, "Is there any known issues with doing it this way". I'm not sure about anything in the docs officially stating that you can but they do it if you look
Here permissions
and here
Screen Sizes
They are elements belonging to the same tag so they can be grouped together.
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