过去用代码实现过,不过忘记了。
今天发现了一种方法。
就是在Edittext的父级控件中添加
android:focusableInTouchMode="true"
android:focusable="true"
就可以实现啦
过去用代码实现过,不过忘记了。
今天发现了一种方法。
就是在Edittext的父级控件中添加
android:focusableInTouchMode="true"
android:focusable="true"
就可以实现啦