How to Make EditText Box Height Expand

前端 未结 6 899
眼角桃花
眼角桃花 2020-12-12 20:11

Here is my layout:




        
6条回答
  •  离开以前
    2020-12-12 20:54

    Remove this line form your EditText

    android:inputType="textCapSentences"
    

    and add this line with number of lines required by you

    android:lines="2"
    

    Hope this helps you

提交回复
热议问题