1.dayText3.setInputType(InputType.TYPE_NULL); 不让edittext按enter键后,弹出输入框android
2.在使用EditText的XML 文件中加入一个属性:
android:textCursorDrawable="@null"
android:textCursorDrawable 这个属性是用来控制光标颜色的,
"@null" 是做用是让光标颜色和text color同样
android:textCursorDrawable 的用法能够查看android sdkspa
3.如何隐藏edittext闪烁光标orm
在EditText控件的xml中添加这个属性就好了
android:cursorVisible="false"xml
4.须要在EditText输入的时候左起位置和自动换行后每行的左起位置都能空出10dpip
android:paddingLeft="10dip"it