Hey,

Have you been able to solve this problem? Cos I am stuck with a
similar problem and I dont like the idea of having different .xml
files for different layout. Hence I wanted to know how a single .xml
file in /layout folder be useful for multiple screen with different
resolutions and density.

On Oct 22, 5:36 am, Weeds <[email protected]> wrote:
> 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 [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

Reply via email to