Skip to content Skip to sidebar Skip to footer

Virtual Keyboard Hiding Edit Text, Setting From Fragment

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

Solution 1:

May be this is useful for you..

http://developer.android.com/reference/android/widget/TextView.html#attr_android:imeOptionssetin edittext in layout.xml file

android:imeOptions="flagNoExtractUi"

Solution 2:

What I can suggest you is to use "adjustPan" as it is, how you are using it, so that Your entire layout shift upwards, and editText comes to focus. And put your menu portion into scrollview, so that user can scroll that also, when he wants any info from your menu part. This Will overcome both your problem. I know this not the solution you wanted and this is a workaround. but hope this helps.

Post a Comment for "Virtual Keyboard Hiding Edit Text, Setting From Fragment"