java - Keyboard not showing up with scrollView in webView android -


i have webview inside scrollview

<?xml version="1.0" encoding="utf-8"?> <linearlayout xmlns:android="http://schemas.android.com/apk/res/android"     xmlns:tools="http://schemas.android.com/tools"     android:layout_width="fill_parent"     android:layout_height="match_parent"     android:background="@android:color/white"     android:orientation="vertical"     >       <relativelayout          android:layout_width="match_parent"         android:layout_height="wrap_content"         android:background="@drawable/bg_header"         />      <scrollview          android:layout_width="fill_parent"         android:layout_height="match_parent"         >          <webview              android:id="@+id/webview"             android:layout_width="wrap_content"             android:layout_height="wrap_content"             />         </scrollview>  </linearlayout> 

but won't let me keyboard when click on form field or edit box in webview login fields etc

i have tried removing scrollview . perhaps because once values recorded made webview "remember" fields , why keyboard not showing? how can fix this

what should :(

can please check .read here

http://developer.android.com/guide/topics/manifest/activity-element.html

android:windowsoftinputmode=["stateunspecified",                                        "stateunchanged", "statehidden",                                        "statealwayshidden", "statevisible",                                        "statealwaysvisible", "adjustunspecified",                                        "adjustresize", "adjustpan"] >     android:configchanges="orientation|keyboard"  

try

 inputmethodmanager imm = (inputmethodmanager)this.getsystemservice(service.input_method_service); 

for hiding

imm.hidesoftinputfromwindow(ed.getwindowtoken(), 0);  

to showing

imm.showsoftinput(ed, 0); 

Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -