开发者

Droid x , Linearlayout background image isn't showing ?

开发者 https://www.devze.com 2023-04-10 09:48 出处:网络
I have developed many android apps and I always use android:background = \"@/drawable开发者_如何学编程/imagename\" and it always worked.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消