Yes, now I'm through reading the concerning
thread<http://groups.google.com/group/android-developers/browse_thread/thread/97d910033eca7a93/599bf718bd2ec7bf>
I
tried it and it worked. Thanks for the response Dianne. That will resolve
the problem for Droid, since that's going to be HDPI I imagine.

Now what happens to a potential case of a WVGA display that is big enough to
be MDPI? Would I have to create two additional folders "drawable-large-mdpi"
and "drawable-normal-hdpi" (then each with -v4 and -v6 gives already 4
folders of hires material, which is going to be a problem size-wise).

Then one last question. Is the placeholder solution where only one folder
contains the real bitmaps and the other .xml files pointing to it going to
be a problem performance-wise?



On Wed, Nov 11, 2009 at 2:17 AM, Dianne Hackborn <[email protected]>wrote:

> On Tue, Nov 10, 2009 at 5:03 PM, freezy <[email protected]> wrote:
>
>> Of course, that's the whole point of density based *layouts*. But then,
>> that's why you specify "dip"s in your layout, so Android scales your button
>> accordingly. Only that you probably don't want to have the same *bitmap*used 
>> for the different sizes that are rendered by Android.
>
>
> Resources are just resources, the resource system doesn't define semantics
> for bitmaps or layouts.  Each resource can be selected based on a large
> number of configurations (locale, mnc, orientation, whether there is a hard
> keyboard, dpad, trackball, screen size class, screen density, etc); you just
> use the ones that make sense for whatever your resource is.
>
> Btw unfortunately there is a bad bug in 2.0 where the resource version
> selection does not work correctly, and is using equivalence instead of >=.
> So you will need to use both -v4 and -v6 resources to work both places (the
> -v6 instead of -v5 is another bug).  This will be fixed in a future update
> to Droid, at which point it should no longer be an issue as no other device
> should ship with the original 2.0 code that is currently on Droid.

-- 
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