diff options
author | Peter Eliasson <peter.eliasson.x@sonyericsson.com> | 2010-08-27 13:07:47 +0200 |
---|---|---|
committer | Johan Redestig <johan.redestig@sonyericsson.com> | 2010-10-25 14:33:06 +0200 |
commit | f313b9e84132b0003d8163d2e3def8f5e1f8ad83 (patch) | |
tree | 3e4c9ead97f21ed9c3ae6500fe30da8bca84b1c4 /core/java | |
parent | c5371fadf2753d074ef117685fed05b0140d6864 (diff) | |
download | frameworks_base-f313b9e84132b0003d8163d2e3def8f5e1f8ad83.zip frameworks_base-f313b9e84132b0003d8163d2e3def8f5e1f8ad83.tar.gz frameworks_base-f313b9e84132b0003d8163d2e3def8f5e1f8ad83.tar.bz2 |
Adding pan behavior on preference dialog.
Changed the preference dialog with text input to pan if
the display area is limited. This helps the user to see
the input better.
Change-Id: I12341546f6f82601ac5a2746153255a9b2d49a1c
Diffstat (limited to 'core/java')
-rw-r--r-- | core/java/android/preference/DialogPreference.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/preference/DialogPreference.java b/core/java/android/preference/DialogPreference.java index bbad2b6..45c8174 100644 --- a/core/java/android/preference/DialogPreference.java +++ b/core/java/android/preference/DialogPreference.java @@ -322,7 +322,7 @@ public abstract class DialogPreference extends Preference implements private void requestInputMethod(Dialog dialog) { Window window = dialog.getWindow(); window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE | - WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); + WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN); } /** |