am d247aadf: Bring up the soft keyboard when touching a focused textfield.
Merge commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef' into eclair-plus-aosp * commit 'd247aadfc4b8117130908c44a2ed1f6d290a92ef': Bring up the soft keyboard when touching a focused textfield.
This commit is contained in:
@@ -4885,6 +4885,9 @@ public class WebView extends AbsoluteLayout
|
|||||||
}
|
}
|
||||||
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
|
int x = viewToContentX((int) event.getX() + mWebTextView.getLeft());
|
||||||
int y = viewToContentY((int) event.getY() + mWebTextView.getTop());
|
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);
|
nativeTextInputMotionUp(x, y);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user