Um. So you are saying that you want the same image to be used for different densities, in such a way that it is not scaled but just drawn with its pixels 1:1 on the screen? If so, put it in drawable-nodpi/.
If that is not what you want, I am having a hard time understanding your question. What you are writing here is really confusing. "xlarge-mdpi" is not a valid resource directory. Further, if you are specifying both "xlarge" and "mdpi" you probably have something seriously wrong with what you are doing. But I can't really tell what you are actually trying to achieve so it is hard to say much more. On Mon, Apr 11, 2011 at 10:50 AM, Curtis <[email protected]> wrote: > Hi, > > Looking for a nice solution to having a copy of an image in multiple > res folder locations > > ie > > /res/xlarge-mdpi/border.png > /res/hdpi/border.png > /res/large-mdpi/border.png > > All these images are the exact same. Wanted to use the hdpi one for > the tablet mdpi screens since it looks better. The only solution i > could see is wrapping the original png in a drawable xml file all the > other instances point to that one image like so > > /res/xlarge-mdpi/border.xml > /res/hdpi/border.xml > /res/hdpi/border-hdpi.png > /res/large-mdpi/border.xml > > with all the border.xml's point to border-hdpi.png. > > Anyone have a better idea? > Thanks > > -Curtis > > -- > 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 > -- 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. -- 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

