I have a additional question then. If I want to specify a background color for the text only, how do I do that?When I set android:background="#FF0000" I get a red color around both the text and the topDrawable.
Regards, Klaus On Thu, Aug 27, 2009 at 2:17 PM, Mark Murphy <[email protected]>wrote: > > > How can I create a Button with icon and text? > > Use android:drawableLeft or android:drawableRight or > android:drawableBottom or android:drawableTop. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > Android App Developer Books: http://commonsware.com/books.html > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

