I had made a gallery view with images over a background image and I noticed that they seemed transparent. I was wondering if there is a way to make then 100% opaque in the XML.
Asked
Active
Viewed 1,879 times
1 Answers
1
The Gallery class has a method setUnselectAlpha(float alpha). Have fun with that.

pumpkee
- 3,357
- 3
- 27
- 34
-
Thank you, But I am new to java but experienced in XML, Is there a way to do it in the XML? – Ben T Oct 23 '11 at 00:36
-
inside the gallery's opening tag, android:unselectedAlpha="1.0". FYI there's not much you can do with just XML so you might as well start working on java. – aleph_null Oct 23 '11 at 00:48