How to enable slide on the Right of Android listview

Source: Internet
Author: User

Many developers do not know how to enable the quick scroll slider of the listview list control. Here, the android Development Network tells everyone that the secondary scroll slider only needs one row.CodeThis can be done. If you use XML layout, you only need to add the Android: fastscrollenabled = "true" attribute to the listview node. For Java code, you can use mylistview. setfastscrollenabled (true); to control enabling. The false parameter is hidden.
Another point is that when your scrolling content is small and you do not reach the three screen heights of the current listview, this quick scroll slider does not appear, and this method is still the basic method of abslistview, you can use Quick scrolling assistance in listview, gridview, and other subclasses.

Related Article

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.