Android Expandablelayout: A scalable, scalable layout

Source: Internet
Author: User

Android Expandablelayout: A scalable, scalable layout
Due to the length and size of the phone screen, in some Android development scenarios, some specific minor level two operation options (such as Annie, play, pause, label, prompt, delete, new, open, etc.) and so on, do not necessarily have to be opened on the crowded presented to the user, After all, the mobile phone screen space is limited, the user's attention and eye focus is limited, even if all the tile display to the user, users will not necessarily focus, but will allow users to spend more time to carefully "study" these buttons or view.
Like this design scenario, you can consider (not necessarily) using Android expandablelayout,android Expandablelayout is a third party open source project designed to accomplish the above design and programming needs, You can achieve a general layout and a scaling extension of the ListView sub item level, and its project homepage on GitHub is: Https://github.com/traex/ExpandableLayout.
But the original project directly imported some problems, I again organized into a smooth operation of the project, push to Git, the use of direct clone to the local can be run. Re-organize the project after the smooth adjustment link address: https://github.com/zhangphil/Android-ExpandableLayout
Code Run Result:
Initialize the state at rest:

Click to expand:


Android Expandablelayout: A scalable, scalable layout

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.