In the development of Android project, inevitably encounter a custom UI, with a better experience to please ued sister and Interaction Designer Mercy ~ Several iterations down, met a lot of such requirements, there are simple and complex. The best implementation is to talk about business and UI isolation, encapsulating it as a standalone UI control for later reuse. Here are a few examples of the projects used, some of the source code has been collated to GitHub, and some need to be optimized and then collated to GitHub, for the moment to show the example, to be continued ...
Current project: Hi Health. The major application market for free Oh, welcome to download the experience ...
O, column chart dynamic drawing
This is to show the step history of the week and month two display dimensions, can slide, the current page to draw a display period of data bar chart. Animation dynamically displays step data when switching time. Mid-March Hi-Health Version Add step function, will be very good to show this feature.
Project Demo Preview Show: Http://t.cn/RGYKviS
First, sliding date components: On the basis of GitHub's Fancycoverflow project, the following features have been added.
1. Horizontal Time slide component, display three kinds of date: historical date, future date, current date, where the current date background is specific.
2. Sliding blocking: Only slide to the current date, not to the future date
3. Support Click to select, except for future dates.
4. Fixed sliding blocking and sliding process each item will experience a selected conflict. Using Setcallbackduringfling (false), the sliding block can not be implemented, only using the thread sleep interval to determine the way.
Original GitHub project address: Https://github.com/davidschreiber/FancyCoverFlow
Post-Renovation project address: Https://github.com/RanCustomAndroidUI/FancyCoverFlow
The effect after renovation: Http://t.cn/RGYKAqM
Two, multi-style node progress bar Demo
Each node has not occurred, current, history three states.
Project Address: https://github.com/RanCustomAndroidUI/DemoMutiProgress
Demo Show: Http://t.cn/RGYK2gU
Three, picture overlay horizontal Control Demo
Picture Overlay Horizontal Control demo, custom control implementation, the image on the left is pressed to the right. Note If you use the traditional GridView to set, the right side of the pressure on the left.
Project Address: https://github.com/RanCustomAndroidUI/DemoMutiProgress
Demo Show: Http://t.cn/RGYKPpK
Four, Arc animation menu Demo
After clicking on the main button, the child button rotates, and each child button can register for the Click event, and after clicking the animation reverts. Support Long Press drag-and-drop, a total of three can be placed after the position, ARC will be more based on the location of automatic changes.
Project Address: Https://github.com/maoranbian/HiifitUIKit
Demo Show: Http://t.cn/RGYouN8
Implementation and application of Android custom UI