Bring up the soft keyboard when touching a focused textfield.

Fix for http://b/issue?id=2118333

Change-Id: Ifa540de139b35548dde2b714b628ca1879a605c5
This commit is contained in:
Leon Scroggins
2009-09-14 16:51:10 -04:00
parent dd8174928c
commit d247aadfc4

View File

@@ -4885,6 +4885,9 @@ public class WebView extends AbsoluteLayout
}
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
int y = viewToContentY((int) event.getY() + mWebTextView.getTop());
// In case the soft keyboard has been dismissed, bring it back up.
InputMethodManager.getInstance(getContext()).showSoftInput(mWebTextView,
0);
nativeTextInputMotionUp(x, y);
}