Back to project page Twitter-News.
The source code is released under:
Apache License
If you think the Android project Twitter-News listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kaplandroid.twitternews.ui; // w ww . jav a2 s .co m import android.app.Activity; import android.os.Bundle; import android.view.animation.Animation; import android.view.animation.RotateAnimation; import android.widget.ImageView; import com.kaplandroid.twitternews.R; /** * * @author KAPLANDROID * */ public class InfoActivity extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_info); ImageView iv_progress_dumen = (ImageView) findViewById(R.id.ivInfoDumen); RotateAnimation anim = new RotateAnimation(0, 360, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.5f); anim.setDuration(3000); anim.setRepeatCount(Animation.INFINITE); anim.setRepeatMode(Animation.REVERSE); iv_progress_dumen.startAnimation(anim); } }