3

problem :When i click editext in popup , the layout of the screen moves up.

Here original layout, enter image description here

After Clicking editext in popup, enter image description here

I have to search and get the solution . but this is only suitable for activity. Im using fragemt so how can i solve my issues,

    android:windowSoftInputMode="stateVisible|adjustResize" 
Arun
  • 65
  • 4

1 Answers1

2

Try this in your fragment class,

getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
AskNilesh
  • 67,701
  • 16
  • 123
  • 163
Ana
  • 174
  • 1
  • 2
  • 10