android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" android:focusable="true" android:focusableInTouchMode="true" > ... ... 其中: android:focusable="true" android:focusableInTouchMode="true" 不叫界面中editText在打开界面时自动获得焦点
要在edittext的父布局结构中(例如LinearLayout,RelativeLayout等)添加
不可编辑同时不会弹出输入法 单击就可以出发事件
android:focusable="false" //在给edittext添加点击事件时不让软键盘弹出的方法
edittext如果获取了焦点,则软键盘弹出,失去焦点,则软键盘退出
edittext去掉下划线 background="@null"