[android-developers] Re: How to add text in ImageButton

2009-04-20 Thread fluxa
Hi Jeff, can you please explain a bit more this workaround? It can be done by XML? thanks in advance. fluxà On Apr 20, 3:36 pm, Jeff Sharkey wrote: > One lightweight way of doing this is to use a Button with > android:drawableTop and android:drawablePadding, which will put both > the text and i

[android-developers] Re: How to add text in ImageButton

2009-04-20 Thread Jeff Sharkey
One lightweight way of doing this is to use a Button with android:drawableTop and android:drawablePadding, which will put both the text and image inside the button. There are separate attributes for setting drawables for each "side" of the text. j On Sun, Apr 19, 2009 at 11:56 PM, guishenl...@g