Android Rotate Animation Quality
I have a rotation animation which I am applying it to a view, here is the code: RotateAnimation shake = new RotateAnimation(-3, 3, 10, 10); shake.setRepeatCount(Animation.I
Solution 1:
When you load your image, set the Anti-alias flag. In XML:
<bitmapxmlns:android="http://schemas.android.com/apk/res/android"android:src="@drawable/tile"android:tileMode="disabled"android:antialias="true"/>On the fly:
ImageViewiv= (ImageView) findViewById(R.id.image);
((BitmapDrawable)iv.getDrawable()).setAntiAlias(true);
Post a Comment for "Android Rotate Animation Quality"