Well problem is similar that Keyboard is hiding my edit text but is there some way to handle the virtual keyboard setting from my layout xml file or fragment class rather that from android manifest file.
For example: we use android:windowSoftInputMode="adjustPan"
from manifest file. What can we do if we want to change it from my layout xml file or from my fragment java class file. This requirement is simply because I need different behavior on different screens. an d above code adjust complete activity.
Note: In my app each screen is divided into two part with one part changing and is fragment, and other part menu. I don't want menu part to be disturbed only fragment portion can shift when keyboard appears. I have already used getActivity().getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
from my fragment class. And result is same i.e. for complete activity.
Please help. Thanks in advance.