安卓开发textView控件中的内容多行显示的时候换行显示

1,在layout文件中将属性设置为 android:singleLine="false"

2,设置属性的时候,在设计界面inputType属性中选中textMultiLine

猜你喜欢

转载自blog.csdn.net/qq_38217873/article/details/80594997