[Android] implements an arc ListView and androidlistview.

Source: Internet
Author: User

[Android] implements an arc ListView and androidlistview.
[Android] implements an arc ListViewSupported platforms: Android runtime environment: Eclipse development language: Java:Http://sina.lt/yG2
 Source code IntroductionIt achieves the arc ListView effect and is innovative. Source code running
How does Android achieve a pass-through effect? For example, if listview has only one item, it can slide up or down.

Overscroll is a feature provided by the version.
Enabled by default from android2.3

How does android listview achieve this rounded corner and press effect? The question is sent again. Come and get the score.

It can be done by layout and a little logic. Specifically, the list body actually has a Margin value left and right, while the above transparent cover layer is full between the left and right, which makes it easy.

You can see the demo of my attachment. I have not adjusted the color. I am not very good at Color adjustment. But the effect is similar.


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.