This example describes the ListView component usage of Android development. Share to everyone for your reference, specific as follows:
About the android:drawselectorontop implications of the Android ListView component
Android:drawselectorontop= "True" click on a record, the color will be displayed on the top, the record on the text is covered, so click on the text, text will not see.
Android:drawselectorontop= "false" clicks a record not to put, the color will be behind the record, becomes the background color, but the record content's text is visible
Read the docs of listactivity.it says you should have a ListView with the id:android:id= "@android: Id/list".
How does the Quick scroll slider for the ListView list control be enabled (how do I add the slider bar slide effect manually in the Android address book)?
In ListView a lot of data, but the load is very slow, you can add a property to improve
Copy Code code as follows:
Android:fastscrollenabled= "true"
<listview android:layout_height= "fill_parent" android:layout_width= fill_parent "android:id=" @+id/
Android:list "
android:fastscrollenabled= true" >
</ListView>
I hope this article will help you with the Android program.