本文档为个人博客文档系统的备份版本、作者:小游、作者博客:点击访问
代码修改输入框颜色
android:textCursorDrawable="@drawable/cursor_color"
清除下划线
android:background="@null"
取消默认获取焦点
在父控件下添加(注意是父控件)
android:focusable="true"
android:focusableInTouchMode="true"
监听输入框变化事件
search.addTextChangedListener(new TextWatcher() {