Various loading and circular progress effects, loading circular progress Effects

Source: Internet
Author: User

Various loading and circular progress effects, loading circular progress Effects

Recently, the APP's progress loading effect needs to be modified to simulate the IOS color gradient effect. At the beginning, 12 images are rotated sequentially and placed in the animation-list to implement frame animation, after implementation, the effect is not very smooth. Later I thought of putting a loading image into the ImageView, and then the ImageView starts the rotation animation. After implementation, the effect is very good. anim file:

<? Xml version = "1.0" encoding = "UTF-8"?> <Set xmlns: android = "http://schemas.android.com/apk/res/android"> <rotate android: fromDegrees = "0" android: toDegrees = "359" android: duration = "1000" android: repeatCount = "-1" android: rjtx = "50%" android: 0000ty = "50%"/> </set>


To study this problem, I read a lot of online materials. Most of the results of progress are to create an animation file and display it to ProgressBar. Most of the results may be stuck if they are not very good, if the above method does not solve this problem, we will organize all the recently viewed materials into a Demo. The first loading effect is the implementation of the ImageViewy rotation animation, and the Demo will be downloaded.



QQ group: 6399844. welcome to join us!


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.