Fwiw, it is better to use android:background="null". On Tue, May 19, 2009 at 4:41 PM, illyge <[email protected]> wrote:
> > I've just migrated to 1.5 and a strange bug has occured. I have the > following code in my layout: > > <ImageButton > android:id="@+id/chat" > android:layout_width="fill_parent" > android:layout_height="fill_parent" > android:src="@drawable/chat" > android:background="#0000" > /> > > That means I want my image button to have no background, just image. > It worked well in sdk 1.1, but now it shows a black rectangle as > background. Why can it be and is there another way to remove the > background? > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

