<requestFocus/> 获得焦点 显示光标
android:hint 用户的输入提示
android:textColorHint 提示字体颜色
android:textCursorDrawable 光标图片
android:inputType 输入框输入数据类型 textPassword,phone,不同的输入类型会弹出不同的键盘
android:imeOptions 输入法右下角显示的文字 actionSend,actionSearch等
android:imeActionLabel 横屏时,输入法右边显示的按钮文字 现实的字符串,android:imeOptions="flagNoExtractui" 取消显示右边的按钮
setErorr() 设置错误提示,null时取消错误提示
<1>事件
(1)setOnEditorActionListener 输入法右下角点击的操作
(2)addTextchangedListener 输入内容发生变化时的操作