I have a ListView
with EditTexts
as items.
I have tried setting both the android:windowSoftInputMode="adjustPan"
and "adjustResize"
flags in the manifest, I have also tried adding "alwaysvisible" flag and it didn't help either.
But when the keyboard hovers over the text and I start typing the edit text box is no loner visible, it only pops up the first time it gains focus.
Edit: I have tested it on 4.3 and it worked as it supposed to work, the edittext was visible all the time, but on 4.2.1/4.2.2 it doesn't work.
on some specific vendors android firmwares, settings android:windowSoftInputMode
for Activity
tag in Manifest won't work...
possible workaround can be setting it directly from the java code, inside the onCreate()
method, after setting the content view:
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
it's a long shot, but for me it worked in some cases...
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