在根布局(最外层的layout)中加入:android:focusableInTouchMode="true"
取消焦点:rl__root.findFocus().clearFocus();//取消焦点
输入法界面将activity输入区域往上推:
android:windowSoftInputMode="adjustResize"
在根布局(最外层的layout)中加入:android:focusableInTouchMode="true"
取消焦点:rl__root.findFocus().clearFocus();//取消焦点
输入法界面将activity输入区域往上推:
android:windowSoftInputMode="adjustResize"