ImageView worked fine, with no need to set the background transparent.
On Oct 6, 12:16 am, Zarah Dominguez zarahj...@yahoo.com wrote:
Hi DanH,
Use an ImageButton, set the image as the src, set the background to
@android:color/transparent, then add padding.
ImageButton
Duh! I see. The existing was specifying the image as the background
of a regular Button. I'll experiment with ImageButton.
On Oct 5, 4:46 pm, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Oct 5, 2010 at 5:40 PM, DanH danhi...@ieee.org wrote:
Kind of a newbie question, I suppose:
ImageButton sorta works except that the background is gratuitously
supplied. Is there a standard resource I can use that's a transparent
background?
On Oct 5, 4:46 pm, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Oct 5, 2010 at 5:40 PM, DanH danhi...@ieee.org wrote:
Kind of a newbie
On Tue, Oct 5, 2010 at 6:04 PM, DanH danhi...@ieee.org wrote:
ImageButton sorta works except that the background is gratuitously
supplied. Is there a standard resource I can use that's a transparent
background?
If you don't want a button background, just use ImageView.
--
Mark Murphy (a
Yeah, I haven't quite got it in my mind yet that Button isn't really
special.
On Oct 5, 5:07 pm, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Oct 5, 2010 at 6:04 PM, DanH danhi...@ieee.org wrote:
ImageButton sorta works except that the background is gratuitously
supplied. Is there a
Hi DanH,
Use an ImageButton, set the image as the src, set the background to
@android:color/transparent, then add padding.
ImageButton android:layout_height=wrap_content
android:src=@drawable/search_button
android:background=@android:color/transparent
6 matches
Mail list logo