Multiline TextView in Android?

前端 未结 20 1812
南方客
南方客 2020-11-29 17:26

I did like below in xml


    

        
20条回答
  •  误落风尘
    2020-11-29 18:13

    I like neither of the answers. Simply set the inputType and the TextView will adapt to its content

    
    

    Tested on a Nexus One (2.3) and Nexus 4 (4.4)

提交回复
热议问题