am e4960883: am 43d7b83e: Merge "Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info" into honeycomb
* commit 'e49608831178981a3de06019e15c5c8918734d62': Fix bug 3391818 - Keyboard covers the "Show in chat list" selection in talk > Friend Info
This commit is contained in:
@@ -190,6 +190,7 @@ public class ListPopupWindow {
|
||||
public ListPopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) {
|
||||
mContext = context;
|
||||
mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes);
|
||||
mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -576,7 +577,6 @@ public class ListPopupWindow {
|
||||
}
|
||||
|
||||
mPopup.setWindowLayoutMode(widthSpec, heightSpec);
|
||||
mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED);
|
||||
mPopup.setClipToScreenEnabled(true);
|
||||
|
||||
// use outside touchable to dismiss drop down when touching outside of it, so
|
||||
|
||||
@@ -665,6 +665,7 @@ public class Spinner extends AbsSpinner implements OnClickListener {
|
||||
@Override
|
||||
public void show() {
|
||||
setWidth(Spinner.this.getWidth());
|
||||
setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED);
|
||||
super.show();
|
||||
getListView().setChoiceMode(ListView.CHOICE_MODE_SINGLE);
|
||||
setSelection(Spinner.this.getSelectedItemPosition());
|
||||
|
||||
Reference in New Issue
Block a user