How do you underline a text in Android XML?

前端 未结 10 1007
不思量自难忘°
不思量自难忘° 2020-12-04 14:57

How do you underline a text in an XML file? I can\'t find an option in textStyle.

10条回答
  •  时光说笑
    2020-12-04 15:47

    If you want to compare text String or the text will change dynamically then you can created a view in Constraint layout it will adjust according to text length like this

     
    
        
    
        
    
    
    
    

提交回复
热议问题