If you want to be able to use it, the link I gave you mentions a way to
create an alias that would allow you to use the drawable in the hdpi
folder.  You would create an alias to it in your normal drawable folder.

On Sat, Feb 19, 2011 at 11:35 PM, Keith Wiley <[email protected]> wrote:

> Fair enough.  My project has such a folder, but of course I suppose it
> is only accessed when the app is run on certain devices.
>
> Thanks.
>
> Cheers!
>
> On Feb 19, 4:25 pm, Justin Anderson <[email protected]> wrote:
> > Drawables in the "drawable-hdpi" folder are only available on
> high-density
> > devices.  When you say you "don't see it" are you sure you are on a
> > high-density device?
> >
> > See here for more info:
> http://developer.android.com/guide/topics/resources/providing-resourc...
> >
> > Hope that helps,
> > Justin
> >
> > On Sat, Feb 19, 2011 at 5:17 PM, Keith Wiley <[email protected]> wrote:
> > > If I reference a drawable in the "drawable" directory, I see the image
> > > in my layout, but if I reference a drawable in the "drawable-hdpi"
> > > directory, I don't see it (but I don't get an error of any sort
> > > either).  I want to include the app icon on the splash screen, and
> > > would prefer to use the high-res icon.
> >
> > > This works:
> > >                        <ImageView
> > >                                android:layout_width="wrap_content"
> > > android:layout_height="wrap_content"
> > >                                android:layout_gravity="center"
> > > android:layout_marginRight="20dip"
> > >                                android:src="@drawable/app_icon" />
> >
> > > This doesn't:
> > >                        <ImageView
> > >                                android:layout_width="wrap_content"
> > > android:layout_height="wrap_content"
> > >                                android:layout_gravity="center"
> > > android:layout_marginRight="20dip"
> > >                                android:src="@drawable-hdpi/app_icon" />
> >
> > > Thoughts?
> >
> > > --
> > > 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
> >
> >
>
> --
> 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
>

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