I'm using ActionBarSherlock. windowSoftInputMode
is adjustPan
(I've tried with adjustResize
and adjustNothing
also).
I want to keep ActionBar
on screen when keyboard appears but slide my layout instead (so text remains visible).
Here is how it looks right:
And when keyboard is appeared:
Question is: how can I keep ActionBar
visible while using adjustPan
(so EditText
s will always be visible)?
NOTE
I can't use ScrollView
to hold my View
I find out, that there may be problems with adjustResize
(for some reason it's just uses adjustPan
instead) when you applying FLAG_FULLSCREEN
to Window
of Activity
:
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
Without this line resizing working just fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With