I will try to take a peek at this tomorrow evening. On Mon, Aug 2, 2010 at 7:14 PM, Greg <[email protected]> wrote: > Mark, thanks for getting back to me. I zipped up my sample project > that has a surfaceview and a thread (based off of the lunar lander > example) just because it is a very similar format to my application. > I uploaded it here: > > http://www.megaupload.com/?d=VKBXZU9C > > The only thing it does is draw a background image and a smaller image > - the blue square - on top of it. This is what I want to accomplish > in my app - a high res background and a scalable smaller image. In > the top level of the folder you will see a screen shot of what I see > when running it on a 480x800 emulator with 2.2. You can see that it > has loaded and correctly scaled the blue square from the drawable > folder, yet it has taken the background image from the hdpi folder and > scaled it as if it was also located in drawable. I put some text to > make it easier to see relatively what part of the image you are > looking at and unfortunately, the normal/hdpi text just got cut off, > but you can still tell that it must be the zoomed hdpi image. > > I am hoping I am making a fundamental mistake in my manifest or > something that you can quickly point out... > > On Aug 1, 7:15 pm, Mark Murphy <[email protected]> wrote: >> On Sun, Aug 1, 2010 at 7:10 PM, Greg <[email protected]> wrote: >> > Do I >> > have to have all of my resources in the "drawable" directory and let >> > Android scale things or have three times the number of image files by >> > having resources in all three directories to make sure all resources >> > are found and treated consistently? >> >> I would not think so. >> >> > I am hoping this is some weird >> > emulator bug that does not reflect how the real OS would treat things. >> >> I would not think that, either. >> >> Unfortunately, my two thoughts are in some amount of conflict, apparently. >> :-( >> >> Can you create a standalone sample project that demonstrates your >> phenomenon, and post it somewhere? >> >> -- >> Mark Murphy (a Commons >> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy >> >> Android 2.2 Programming Books:http://commonsware.com/books > > -- > 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 >
-- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _Android Programming Tutorials_ Version 2.9 Available! -- 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

