From a7dde6b22f08d141642514cca908f1080fd46477 Mon Sep 17 00:00:00 2001 From: Michael Kolb Date: Wed, 5 Oct 2011 10:52:20 -0700 Subject: Show IME when editing homepage URL Bug: 5209206 Change-Id: I30020b97692aca30c09a68e92144828619ef4d59 --- src/com/android/browser/preferences/GeneralPreferencesFragment.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/com/android/browser/preferences') diff --git a/src/com/android/browser/preferences/GeneralPreferencesFragment.java b/src/com/android/browser/preferences/GeneralPreferencesFragment.java index 05aa1a7..c018474 100644 --- a/src/com/android/browser/preferences/GeneralPreferencesFragment.java +++ b/src/com/android/browser/preferences/GeneralPreferencesFragment.java @@ -29,6 +29,7 @@ import android.text.InputType; import android.text.TextUtils; import android.util.Log; import android.view.KeyEvent; +import android.view.WindowManager; import android.view.inputmethod.EditorInfo; import android.widget.EditText; import android.widget.TextView; @@ -152,6 +153,8 @@ public class GeneralPreferencesFragment extends PreferenceFragment return false; } }); + dialog.getWindow().setSoftInputMode( + WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE); dialog.show(); } -- cgit v1.1