How to show the text on a ImageButton?

后端 未结 11 1440
佛祖请我去吃肉
佛祖请我去吃肉 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:20

    I solved this by putting the ImageButton and TextView inside a LinearLayout with vertical orientation. Works great!

    
    
        
    
        
    
    
    

提交回复
热议问题