pull/5/head
yehunxin 3 years ago
parent 6ba063f78b
commit e8a403c666
  1. 4
      app/src/main/java/xyz/fycz/myreader/ui/activity/SearchBookActivity.java

@ -230,9 +230,7 @@ public class SearchBookActivity extends BaseActivity {
initHistoryList(); initHistoryList();
App.getHandler().postDelayed(() -> { App.getHandler().postDelayed(() -> {
binding.etSearchKey.requestFocus(); binding.etSearchKey.requestFocus();
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE); }, 200);
imm.toggleSoftInput(0, InputMethodManager.SHOW_FORCED);
}, 400);
} }
@Override @Override

Loading…
Cancel
Save