ALL
Create animated refresh button in Android
In Android, we can have drawings on a button, also we can put animated drawings on a button as well. Today we will show how to create an animated refresh button with an animated spinner on it.We need to create an animated drawing first. Here we name it as progress.xml and put it in the res/drawable folder:<?xml version="1.0" encoding="utf-8"?><animation-list xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/spin_refresh" android:oneshot="false"> <item android:drawable="@drawable/ic_action_refresh1" android:duration="4...
36,546 3 ANDROID ANIMATION SPINNER REFRESH BUTTON