tvdpi should be the closest, Nexus 7 is 216dpi and tvdpi is 213dpi see: http://developer.android.com/guide/practices/screens_support.html but note: *"Resources for screens somewhere between mdpi and hdpi; approximately 213dpi. This is not considered a "primary" density group. It is mostly intended for televisions and most apps shouldn't need it—providing mdpi and hdpi resources is sufficient for most apps and the system will scale them as appropriate. If you find it necessary to provide tvdpi resources, you should size them at a factor of 1.33*mdpi. For example, a 100px x 100px image for mdpi screens should be 133px x 133px for tvdpi."*
Remember that because of the soft buttons not all of the screen is available to applications so your bitmap needs to be somewhat smaller. On Tuesday, August 7, 2012 2:00:49 AM UTC+1, limtc wrote: > > I just received a message from a Nexus 7 user that my game broke on this > device with a background too small. My game runs on Android 2.1 and above, > and I try to optimized for different devices (including TV). Since I used > surface to draw the background image, I need to have a specified image size > to show properly. > > Since I don't have a Nexus 7, I created an AVD to test it. > > I tried putting 800x1280 in many drawables - hdpi, large-hdpi, mdpi, > large-mdpi, tvdpi ... all does not work. The image is still too small. Does > anybody know what's the correct drawable to use for Nexus 7 - without it > scaled down my background? Or is it the AVD issue? > > Thanks! > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

