You need to use a daisy-like selection effect in your project. There are some apps that use third-party git controls to load a GIF image directly, but I don't like the way it is. Adding a class library to a project for so little functionality is always a bit overqualified. The same effect is achieved by specifying load images directly for ProgressBar.
1. First you need to define a rotation animation in drawble
<?xml version= "1.0" encoding= "Utf-8"? ><animated-rotate xmlns:android= "Http://schemas.android.com/apk/res /android "android:drawable=" Chrysanthemum Pictures "android:fromdegrees=" 0.0 "android:pivotx=" 50.0% "android:pivoty=" 50.0% "Android: todegrees= "360.0"/>
2. Locate the progress in the layout and set it as follows:
<progressbar android:id= "@+id/reg_req_code_gif_view" android:layout_width= "@dimen/dimen_30" Android:layout_ height= "@dimen/dimen_30" android:indeterminatedrawable= "@drawable/base_loading_large_anim" Android: Indeterminatebehavior= "Repeat"/>
So you can see the turning chrysanthemums when you use them.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android ProgressBar Custom Chrysanthemum effect