ListView inherits from Abslistview
Abslistview Property
| XML properties |
Code |
Description |
| android:choicemode |
setchoicemode (int choicemode) Abslistview.choice_mode_ Single Abslistview.choice_mode_multiple Abslistview.choice_mode_multiple_modal |
None: No selection mode Singlechoice: Allow radio Multiplechoice: Allow multiple selections Multiplechoicemodal: Allow multiple selections seems to be using Android. r.layout.simple_list_item_checked only effect arrayadapter<string> items= New Arrayadapter<string> (Getapplicationcontext (), Android. r.layout.simple_list_item_checked, new string[]{"Zhejiang", "Shanghai", "Beijing" |
| Android:drawselectorontop |
Setdrawselectorontop (Boolean OnTop) |
Set to True, press and hold the record, the color will overwrite the text, the text is not very clear True effect False effect Do not know what the intention is to do this? |
| Android:fastscrollenabled |
|
Whether to show the fast scrolling button, the blue one on the right, the quick scrolling of the fingers will show |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Android Learning-Interface-ui-listview