how to put text under image view

前端 未结 2 2024
清酒与你
清酒与你 2021-01-14 01:02

I wrote some xml but still cant place the text on the center of the screen as image. I want to put the text after my image. On my xml just trying to put text on the center u

2条回答
  •  一向
    一向 (楼主)
    2021-01-14 01:39

    If the CompoundDrawable doesn't meet your needs, you may use a RelativeLayout instead of a LinearLayout like this:

        
    
            
    
            
        
    

提交回复
热议问题