1.5 will not use the drawable-nodpi.  As it's not even aware that that is a
legitimate folder option.

On Wed, Dec 23, 2009 at 11:19 AM, greg1x <gre...@yahoo.com> wrote:

> > I just wrote a quick test app that uses a single drawable folder named
> > drawable-nodpi. Android 1.5-2.0.1 all read from it fine.
>
> I have the same setup. I have files only in the -ndpi folder.
> I'm accessing the drawable like this:
> res.getDrawable(R.drawable.brick)
>
> > You are usually supposed to use version qualifiers along with the
> > screens support qualifiers to prevent Android 1.5 from reading folders
> > with them. I suppose not doing so helps reduce the amount of duplicate
> > copies needed in this case.
>
> Huh, I'm very sorry, but I don't understand this part.
> Could you please write me a line instead of
> res.getDrawable(R.drawable.brick)
> that loads brick.png from drawable-nodpi on all Android versions from
> 1.5-2.0.1?
>
> I'm not that stupid usually, but I seem to be now ;)
>
> Thanks for your time!
>
> --
> 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+unsubscr...@googlegroups.com<android-developers%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to