1.使用android:gravity="center"来指定文字的对齐方式
可选值有top.bottom.left.right.center等 可以用“|”来指定
2.textsize方法指定文字大小
3textColor指定文字颜色
4 android:hint="This is text" 指定输入框提示性文本
5android:maxLines="3" 指定输入框最大行数 三行
1.使用android:gravity="center"来指定文字的对齐方式
可选值有top.bottom.left.right.center等 可以用“|”来指定
2.textsize方法指定文字大小
3textColor指定文字颜色
4 android:hint="This is text" 指定输入框提示性文本
5android:maxLines="3" 指定输入框最大行数 三行