1

I am developing an android app. In this app my main activity has a container to host fragment activity. In my fragment activity I have some editText fields. When I am clicks on one of edit field soft keyboard appears but screen doesn't resize according to current situation. I have tried some suggestions like

android:windowSoftInputMode="adjustResize"

and

getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);

I am testing at a device which runs MarshMallow OS. What should I do know.

Phantômaxx
  • 37,352
  • 21
  • 80
  • 110
Mohammad Aamir
  • 381
  • 2
  • 4
  • 12

0 Answers0