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