Reputation: 65
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"
Upvotes: 3
Views: 33
Reputation: 194
Try this in your fragment class,
getActivity().getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
Upvotes: 2