How to show the text on a ImageButton?

后端 未结 11 1436
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-04 08:42

I have an ImageButton and I want to show a text and an image on it. But when I try on emulator:



        
11条回答
  •  悲&欢浪女
    2020-12-04 09:31

    you can use a regular Button and the android:drawableTop attribute (or left, right, bottom) instead.

提交回复
热议问题