0
我使用RotateAnimation
来旋转我的FrameLayout
,其中有三个ImageView
。但是在旋转之后,具有其子视图的布局返回到动画之前的开始位置。我怎样才能让它在动画之后保持旋转?RotateAnimation后的布局位置
我使用RotateAnimation
来旋转我的FrameLayout
,其中有三个ImageView
。但是在旋转之后,具有其子视图的布局返回到动画之前的开始位置。我怎样才能让它在动画之后保持旋转?RotateAnimation后的布局位置
阅读动画文档,特别是fillAfter。
http://developer.android.com/reference/android/view/animation/Animation.html
fillAfter已经设置为true,但是没有效果... –
这是关系到fillAfter,fillBefore和fillEnabled性能。我会使用fillAfter =“true”,我想 – njzk2