See Also: ExpandableListView Members
A view that shows items in a vertically scrolling two-level list. This differs from the Android.Widget.ListView by allowing two levels: groups which can individually be expanded to show its children. The items come from the Android.Widget.IExpandableListAdapter associated with this view.
Expandable lists are able to show an indicator beside each item to display the item's current state (the states are usually one of expanded group, collapsed group, child, or last child). Use ExpandableListView.SetChildIndicator(Android.Graphics.Drawables.Drawable) or ExpandableListView.SetGroupIndicator(Android.Graphics.Drawables.Drawable) (or the corresponding XML attributes) to set these indicators (see the docs for each method to see additional state that each Drawable can have). The default style for an Android.Widget.ExpandableListView provides indicators which will be shown next to Views given to the Android.Widget.ExpandableListView. The layouts android.R.layout.simple_expandable_list_item_1 and android.R.layout.simple_expandable_list_item_2 (which should be used with Android.Widget.SimpleCursorTreeAdapter) contain the preferred position information for indicators.
The context menu information set by an Android.Widget.ExpandableListView will be a NoType:android/widget/ExpandableListView$ExpandableListContextMenuInfo;Href=../../../reference/android/widget/ExpandableListView.ExpandableListContextMenuInfo.html object with NoType:android/widget/ExpandableListView$ExpandableListContextMenuInfo;Href=../../../reference/android/widget/ExpandableListView.ExpandableListContextMenuInfo.html#packedPosition being a packed position that can be used with ExpandableListView.GetPackedPositionType(long) and the other similar methods.
Note: You cannot use the value wrap_content for the android:layout_height attribute of a ExpandableListView in XML if the parent's size is also not strictly specified (for example, if the parent were ScrollView you could not specify wrap_content since it also can be any length. However, you can use wrap_content if the ExpandableListView parent has a specific size, such as 100 pixels.