On Nov 21, 9:34 am, Kostya Vasilyev <[email protected]> wrote:
> What happens is that Android automatically scales drawables down to ldpi
> resolution, it's transparent to the application.

That would be good.  Does anybody know where that is documented?

This page says - "If no matching resources are available, the platform
loads the default resources and scales them up or down as needed"

    http://developer.android.com/guide/practices/screens_support.html#support

It doesn't say (that I have noticed) what happens if there is no
matching resource AND no default...  Where is that specified?

>
> Works pretty well: hdpi drawables, on the other hand, often look better
> if created by hand (not always, but often).
>
> Device compatibility is not affected by what resources you have (and
> don't have) in your application.
>
> -- Kostya
>
> 21.11.2010 20:08, jotobjects пишет:
>
>
>
> > Hm.  So the sample apps don't support ldpi at all.  What happens if
> > you try to run such an app on an ldpi device?  Does it fail?  Is not
> > allowed to be installed in the first place (not sure how that could be
> > detected in advance)?
>
> > Is it true that there are hardly any (or none) ldpi Android devices or
> > is it important for an app to support ldpi screens?
>
> > Is it a reasonable alternative to put the mdpi graphics in the default
> > drawables directory and have those used for mdpi and scaled for ldpi?
> > Or have it in drawables-mdpi and in drawables?   I'm trying to weigh
> > the options, if any, of having our designer resource create the ldpi
> > images.
>
> > On Nov 19, 11:08 pm, Dianne Hackborn<[email protected]>  wrote:
> >> The current base platform doesn't include ldpi images, so you'd need to 
> >> make
> >> them yourself.  If you are targeting>= 1.6, you don't need any drawables in
> >> the base "drawable" folder, just for whatever density you want and the
> >> system will pick and scale the drawable that best matches.
>
> >> On Fri, Nov 19, 2010 at 6:05 PM, jotobjects<[email protected]>  wrote:
> >>> I'm copying some system Icons into my app - for instance
> >>> ic_menu_add.png.  There is one in drawable-mdpi and one in drawable-
> >>> hdpi, but not in drawable or drawable-ldpi.
> >>> What icon would be used on a ldpi device?  My understanding is that
> >>> you need a default version in drawable or one in each of the density
> >>> sub-directories.  Is that how it works?
> >>> --
> >>> 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]<android-developers%[email protected]>
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/android-developers?hl=en
> >> --
> >> Dianne Hackborn
> >> Android framework engineer
> >> [email protected]
>
> >> Note: please don't send private questions to me, as I don't have time to
> >> provide private support, and so won't reply to such e-mails.  All such
> >> questions should be posted on public forums, where I and others can see and
> >> answer them.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

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