A custom view that flip bitmap in a animation:
##To Use This View Just type in you gradle
compile 'bupt.liao.fred:FlipView:1.0.0'
And to use in xml:
<bupt.liao.fred.flipviewlibrary.FlipView
android:id="@+id/flip"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_centerInParent="true"
/>
And add to java code:
flipView = (FlipView)findViewById(R.id.flip);
runOnUiThread(new Runnable() {
@Override
public void run() {
flipView.startFlip();
}
});