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,901
  • 21
  • 84
  • 115
Mohammad Aamir
  • 471
  • 2
  • 5
  • 14

0 Answers0