0

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.

Dharman
  • 30,962
  • 25
  • 85
  • 135
Ben T
  • 45
  • 2
  • 6

1 Answers1

1

The Gallery class has a method setUnselectAlpha(float alpha). Have fun with that.

Docs

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