Include seamless rotation mode in API Demo.
Test: Try the RotationAnimation activity of API demos. Change-Id: I4f3aba54d310ecbe06776190a4096c71fdf85d24
This commit is contained in:
@@ -64,6 +64,9 @@ public class RotationAnimation extends Activity {
|
||||
case R.id.jumpcut:
|
||||
mRotationAnimation = LayoutParams.ROTATION_ANIMATION_JUMPCUT;
|
||||
break;
|
||||
case R.id.seamless:
|
||||
mRotationAnimation = LayoutParams.ROTATION_ANIMATION_SEAMLESS;
|
||||
break;
|
||||
}
|
||||
setRotationAnimation(mRotationAnimation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user