完整内容,请查看:http://www.zhdoc.net/android/reference/android/widget/ListPopupWindow.html
ListPopupWindow
public class ListPopupWindow
extends Object
implements ShowableListMenu
java.lang.Object | |
↳ | android.widget.ListPopupWindow |
A ListPopupWindow anchors itself to a host view and displays a list of choices.
ListPopupWindow将自己附着到一个宿主视图,并显示一个选项列表。
ListPopupWindow contains a number of tricky behaviors surrounding positioning, scrolling parents to fit the dropdown, interacting sanely with the IME if present, and others.
ListPopupWindow包含了许多复杂的行为,包括定位,滚动父视图来配合下拉菜单,如果有的话,还可以与IME进行交互,等等。
See also:
另请参考:
摘要
常量 | |
---|---|
int | INPUT_METHOD_FROM_FOCUSABLE Mode for |
int | INPUT_METHOD_NEEDED Mode for |
int | INPUT_METHOD_NOT_NEEDED Mode for |
int | MATCH_PARENT Alias for |
int | POSITION_PROMPT_ABOVE The provided prompt view should appear above list content. |
int | POSITION_PROMPT_BELOW The provided prompt view should appear below list content. |
int | WRAP_CONTENT Alias for |
Public构造方法 | |
---|---|
ListPopupWindow(Context context) Create a new, empty popup window capable of displaying items from a ListAdapter. | |
ListPopupWindow(Context context, AttributeSet attrs) Create a new, empty popup window capable of displaying items from a ListAdapter. | |
ListPopupWindow(Context context, AttributeSet attrs, int defStyleAttr) Create a new, empty popup window capable of displaying items from a ListAdapter. | |
ListPopupWindow(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes) Create a new, empty popup window capable of displaying items from a ListAdapter. |