- Home /
google market filter by screen
hello! i am developing app for the android tablet and i do not know how to make app available only for resolutions that are over 1024 in width maybe 900 width will be fine too...
i put only x-large screen in the manifest that should cover 1024 and 1280 screens but only the device that has 1280 is able to see the app and the one with 1024 that i used for testing is not able to install...
how to resolve this?
Answer by -DQ- · Oct 03, 2011 at 08:15 PM
It looks like your answer is covered at: How to support multiple screens
Without more detail, I'd suggest if using API 13 to ditch the screen size group: xlarge as it is deprecated and instead use the size qualifer smallestWidth.
ok, so is smallestWidth going to work if accessed with the tablet with android 2.1 or 2.2? i want to make my app available for tablets 2.1 and up including honeycomb with the resolutions more then 1024 in width?
currently it only shows on my honeycomb tablet with 1280 width and in the manifest file screen:x-large
thanks!
You can only use smallestWidth on Honeycomb 3.2 or later, so for apk deployments targeting earlier android versions, you will have to rely on your 4 screen groups like you currently are. $$anonymous$$eep in $$anonymous$$d, these groups were intended for representing loose categories of device sizes so that is why you may experience inconsistencies. The Remainder of this comment is a copy/paste from the link in my answer (pay particular attention to the note):
As you design your UI for different screen sizes, you'll discover that each design requires a $$anonymous$$imum amount of space. So, each generalized screen size above has an associated $$anonymous$$imum resolution that's defined by the system. These $$anonymous$$imum sizes are in "dp" units—the same units you should use when defining your layouts—which allows the system to avoid worrying about changes in screen density.
xlarge screens are at least 960dp x 720dp large screens are at least 640dp x 480dp normal screens are at least 470dp x 320dp small screens are at least 426dp x 320dp
Note: These $$anonymous$$imum screen sizes were not as well defined prior to Android 3.0, so you may encounter some devices that are mis-classified between normal and large. These are also based on the physical resolution of the screen, so may vary across devices—for example a 1024x720 tablet with a system bar actually has a bit less space available to the application due to it being used by the system bar.
Your answer
Follow this Question
Related Questions
White screen before Splash screen change to black 0 Answers
How to make a character move towards a side of the screen that's pressed at a constant rate? 2 Answers
Android 5.1.1 display failure 7 Answers
Screenshot functionality Android 0 Answers
Playerprefs don't reset after reinstalling the build on my phone. 1 Answer