Hey, I have been trying to get a solution for this issue for a long time.
The issue is that the images in the Galle开发者_Go百科ry get a gray transparent background, here is a picture of what I mean:
http://i51.tinypic.com/2hpnbja.png
The images are simply white images, though, as you can see in the picture above, they all get a gray background for some reason.
Can anyone tell me the source or how to fix this issue?
Here is the source folder (19 kb): http://dl.dropbox.com/u/18331007/GalleryDemo.rar
Thanks
That's all about resources.xml
<?xml version="1.0" encoding="UTF-8"?>
<resources>
<declare-styleable name="Gallery1">
<attr name="android:galleryItemBackground"/>
</declare-styleable>
</resources>
Try removing this declaration.
精彩评论