EditText取消自动调用键盘事件(方法之一)

直接上代码,这只是其中一种方法:

重点在于是在该EditText的父空间中设置

<LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:focusable="true"
            android:focusableInTouchMode="true"
            android:orientation="vertical">
原文地址:https://www.cnblogs.com/ShaoXin/p/6201311.html