Is it possible to always show the action bar when using adjustPan as soft input mode? Is it possible to always show the action bar when using adjustPan as soft input mode? android android

Is it possible to always show the action bar when using adjustPan as soft input mode?


for adjustPan

put below code in your activity declaration line in manifest.xml file

android:windowSoftInputMode="adjustPan"

like

<activity        android:name="activity"        android:windowSoftInputMode="adjustPan" ></activity>

for remove keybord while scrall

while you get result at that time execute below code

InputMethodManager imm = (InputMethodManager)getSystemService(Context.INPUT_METHOD_SERVICE);imm.hideSoftInputFromWindow(myEditText.getWindowToken(), 0);

by this way you can remove keybord from screen.