Slight update, it turns out taking the resource out of the nodpi
folder caused it to revert to the drawable folder and then it worked.
Does anyone know why putting it in the nodpi would cause it to mess
up? fyi the image in question is actually the default button image,
taken out of the sdk resources, so there shouldn't be any issue with
my image being messed up...

On May 14, 12:23 am, Jeffrey <jeffisagen...@gmail.com> wrote:
> I have an app that when run on 1.5 throws the following exception
> every time it tries to set an image:
>
> Resource not found exception blah blah blah
>
> caused by: Java.lang.IllegalArgumentException: width and height must
> be > 0
>
> The image is being pulled from a drawable-nodpi folder, and all the
> dimensions are either wrap content or fill parent. I have no idea
> where it is getting values lower than zero.
>
> Is there something I am missing or what? Also the image I am trying to
> pull is a 9patch image, though I am referencing it the same way in
> another application just fine...
>
> --
> 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 
> athttp://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