測試有效的做法就是讓EditText的父佈局獲取焦點,就達到效果,所以在父佈局添加:
android:focusable="true"
android:focusableInTouchMode="true"
網上還有很多方法,暫時沒驗證。
測試有效的做法就是讓EditText的父佈局獲取焦點,就達到效果,所以在父佈局添加:
android:focusable="true"
android:focusableInTouchMode="true"
網上還有很多方法,暫時沒驗證。