Android's ListView component

Source: Internet
Author: User

About android:drawselectorontop meanings in the Android ListView component

Android:drawselectorontop= "True" click on a record, the color will be displayed on the top, the text on the record is obscured, so click on the text, text will not be visible.

Android:drawselectorontop= "False" click on a record, the color will be behind the record, the background color, but the text of the recorded content is visible


Read the docs of listactivity.it says you should has a ListView with the ID: android:id= "@android: Id/list".

How is the Quick scroll slider for the ListView list control enabled (how do I manually drag the scrollbar slide effect to add in the Android Address book)?

650) this.width=650; "src=" Http://pic002.cnblogs.com/images/2011/284865/2011082512201588.png "style=" margin:0px; padding:0px;border:0px; "/>

A lot of data in the ListView, but the load is very slow, you can add a property to improve android:fastscrollenabled= "true"

<listview android:layout_height= "Fill_parent"
Android:layout_width= "Fill_parent"
Android:id= "@+id/android:list"
Android:fastscrollenabled= "true" ></ListView>


This article is from the "No Water Fish" blog, please be sure to keep this source http://javaqun.blog.51cto.com/10687700/1707685

Android's ListView component

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.