I have developed many android apps and I always use android:background = "@/drawable开发者_如何学编程/imagename" and it always worked. Now I'm testing on three devices (Galaxy s , droid x and droid 2 ) and the emulator . All the emulators display the background , and the galaxy . but non of the droids !.
I tried both PNG and JPG images with no luck . what do you think ?
Depending on the resolution of the screens, the image files are pulled from different places. I've had similar issues. Try to move the file into drawable-hdpi or drawable-mdpi.
精彩评论