Keyboard hiding EditTexts in Fragments

后端 未结 9 845
长情又很酷
长情又很酷 2020-12-25 13:59

edit: I need to use the keyboard, but it hides my EditText, I need it to scroll so the keyboard is not hiding it.

I am using a Samsun

9条回答
  •  长情又很酷
    2020-12-25 14:35

    keep in mind that hide keyboard does not work with getActivity().getWindow().setFlags(WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS, WindowManager.LayoutParams.FLAG_LAYOUT_NO_LIMITS);

提交回复
热议问题