diff options
Diffstat (limited to 'src/com/android/browser/BrowserHomepagePreference.java')
| -rw-r--r-- | src/com/android/browser/BrowserHomepagePreference.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/com/android/browser/BrowserHomepagePreference.java b/src/com/android/browser/BrowserHomepagePreference.java index ec603d395..4f18bd5db 100644 --- a/src/com/android/browser/BrowserHomepagePreference.java +++ b/src/com/android/browser/BrowserHomepagePreference.java @@ -105,12 +105,12 @@ public class BrowserHomepagePreference extends EditTextPreference { protected void showDialog(Bundle state) { super.showDialog(state); // The dialog has its width set to wrap_content. Change it to - // fill_parent so there is more room to type in a url. + // match_parent so there is more room to type in a url. Window window = getDialog().getWindow(); View decorView = window.getDecorView(); WindowManager.LayoutParams params = (WindowManager.LayoutParams) decorView.getLayoutParams(); - params.width = ViewGroup.LayoutParams.FILL_PARENT; + params.width = ViewGroup.LayoutParams.MATCH_PARENT; window.getWindowManager().updateViewLayout(decorView, params); } } |
