OSDN Git Service

am b3f6116e: am fd73824d: Merge "Fix: Text is cut in Edit word edit box when adding...
authorAmith Yamasani <yamasani@google.com>
Fri, 12 Aug 2011 20:16:17 +0000 (13:16 -0700)
committerAndroid Git Automerger <android-git-automerger@android.com>
Fri, 12 Aug 2011 20:16:17 +0000 (13:16 -0700)
* commit 'b3f6116e2bd8bfa1b23b724526badaa6b1602a12':
  Fix: Text is cut in Edit word edit box when adding word to dictionary

1  2 
src/com/android/settings/UserDictionarySettings.java

@@@ -214,10 -221,10 +214,10 @@@ public class UserDictionarySettings ext
                      }})
                  .setNegativeButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
                      public void onClick(DialogInterface dialog, int which) {
 -                        if (mAutoReturn) finish();                        
 +                        if (mAutoReturn) activity.onBackPressed();
                      }})
                  .create();
-         dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE |
+         dialog.getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN |
                  WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
          return dialog;
      }