Reputation: 17671
I have...
It's similar to a Menu Icon. How to do that? I only found following ways. Both of them arent very nice:
Upvotes: 0
Views: 685
Reputation: 17671
After some months of working with Android it's not that hard anymore. You can set any View (ImageView, TextView, LinearLayout, RelativeLayout...) clickable.
So in this case I would go with a Relative- or LinearLayout. They also can use the same style, so the position of the icons are always the same.
Upvotes: 1
Reputation: 200476
Set the text as the button text via the attribute android:text
. Use the android:drawableTop
attribute to set an icon that will appear above the text.
Upvotes: 0