[android-developers] Re: library project returns wrong resource
Sounds like your bitmap is being scaled before it is returned to your
code. Could you post some code so we can see what you're trying to do?
Android might perform scaling to match screen density.
- dave
http://www.androidbook.com
On May 23, 2:05 pm, Greg Donald <gdon...@gmail.com> wrote:
> I have a library project that contains some bitmaps. The bitmaps are
> all 480x320, I triple-checked, twice. When I use my library project
> in another project it finds a bitmap for me, but not the one I'm
> calling. The bitmap it gives me is 48x48, not 480x320 like I'm
> expecting. The only thing in either project that is 48x48 is the
> icon.png, and that's not the resource I'm calling for in code.
> Eclipse doesn't show any errors. The app install fine.
>
> I've cleaned, I've refreshed, I've rebooted, nothing helps.
>
> How can I fix this?
>
> --
> Greg Donald
> destiney.com | gregdonald.com
>
> --
> 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+unsubscribe@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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home