I'm using a GalleryView in which I want to change the background color to WHITE. I am using the following settings in my attrs.xml file. Seems simple but I have been unable to find out how to change/apply a custom background color to the GalleryView.
I just wanted to add that I want to keep the border effect that exists on the galleryItemBackground.
The effect Im looking for is to have a style almost identical to the galleryItemBackground except I want to invert the colors. I want a dark shade for the border and a white background for the image. How can I create this effect?
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="ProductGallery">
<attr name="android:galleryItemBackground" />
</declare-styleable>
</resources>