Fix: Text is cut in Edit word edit box when adding word to dictionary

When a word is added to dictionary its display is cut in edit box of
Edit word dialog on some screens.

Change-Id: I8c8dde9df6b2ccad21bb2113a240d24a99d51012
This commit is contained in:
Zoran Jovanovic
2010-10-07 08:29:58 +02:00
committed by Johan Redestig
parent 3f1ba01d55
commit 211893e722

View File

@@ -224,7 +224,7 @@ public class UserDictionarySettings extends ListActivity {
if (mAutoReturn) finish(); if (mAutoReturn) finish();
}}) }})
.create(); .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); WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE);
return dialog; return dialog;
} }