指定edittext的行数

来源:互联网 发布:ubuntu matlab 编辑:程序博客网 时间:2024/06/04 19:52

android:maxLines="2"

在edittext布局中添加这个属性就可以指定编辑文字的行数。

0 0