[android-developers] Re: Inflate layouts with different density
Hi Daniel, thanks for your answer.
Sorry, scaling may have been misleading a little bit, the best
solution for me would be inflating that layout with high density.
Maybe I should specify the layout a little more (actually I was wrong
before, there is only one default layout, which is "scaled up" on the
Galaxy Tab)
It is a simple RealtiveLayout for a Game Menu, with an ImageView
horizontally centered and below that are four ImageButtons in a 2x2
group.
So of course I could change the layout (or the resources it will use),
but this will probably break the layout for default HVGA screens (as I
would need larger images for the medium density version).
So my current setup looks like that:
/res/layout/screen.xml
/res/drawable-mdpi/<medium density graphics>
/res/drawable-hdpi/<high density graphics>
And I really don't like the idea to create something like res/layout-
mdpi-1024x600 or res/drawable-mdpi-1024x600 (which would include the
same graphics as the hdpi directory).
Andre
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home