android软键盘设置actionSearch为什么不可以
业大神 2016-10-23 11:57:14 <EditText
android:id="@+id/et"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="点我就会弹出软键盘"
android:imeOptions="actionSearch"
android:lines="1" />
此外我在代码中也进行了设置,还是不可以。
EditText et = (EditText) findViewById(R.id.et);
et.setImeOptions(EditorInfo.IME_ACTION_SEARCH);
我使用的是小米5,但是我玩别人的app里面是弹出的就是“搜索”,求教!