ImageButton handling of transparent src pngs

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

ImageButton handling of transparent src pngs

Postby OldSkoolMark » Sat Nov 28, 2009 8:32 am

ImageButton doesn't honor the transparency of my android:src png. My
src image is a rounded rectangle, with the remaining portion of the
bounding rectangle set to be transparent. When the button is
displayed, what should be transparent is a dark shadowy color. The
images I'm using are OK, and display the proper transparency when
shown in a browser. android:background="@android:color/transparent"
doesn't have any effect. Or do I need to subclass ImageView directly
to get the desired handling of the src image transparency?
OldSkoolMark
Once Poster
Once Poster
 
Posts: 1
Joined: Sat Nov 28, 2009 8:21 am

Top

Postby padde » Sat Nov 28, 2009 12:14 pm

Could you give an example picture?!
I had no problems so far with transparency.
padde
Master Developer
Master Developer
 
Posts: 443
Joined: Wed Apr 08, 2009 4:52 pm

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 3 guests