Skip to content

Commit db65907

Browse files
Amith YamasaniAndroid Code Review
authored andcommitted
Merge "Adding pan behavior on preference dialog."
2 parents 9de9342 + f313b9e commit db65907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/java/android/preference/DialogPreference.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ protected boolean needInputMethod() {
322322
private void requestInputMethod(Dialog dialog) {
323323
Window window = dialog.getWindow();
324324
window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE |
325-
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE);
325+
WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN);
326326
}
327327

328328
/**

0 commit comments

Comments
 (0)