2
我有一个PopupWindow
我用PopupWindow.setAnimationStyle();
两个popupwindows之间swop。 swoping和动画的作品。但是当我将x值从0缩放到1或1到0时,它会闪烁。如何停止我的缩放动画中的闪烁?
例如,该闪烁:
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:duration="300" >
<scale
android:pivotX="50%"
android:fromXScale="1" android:toXScale="0"
android:fromYScale="1" android:toYScale="1" />
</set>
但这不会:
<?xml version="1.0" encoding="utf-8"?>
<set
xmlns:android="http://schemas.android.com/apk/res/android"
android:interpolator="@android:anim/accelerate_decelerate_interpolator"
android:duration="300" >
<scale
android:pivotX="50%"
android:fromXScale="0.9" android:toXScale="0.1"
android:fromYScale="1" android:toYScale="1" />
</set>
为什么这会闪烁,我如何让它不忽悠?
这可能是我的设备,但我必须使它不闪烁在此设备上。 我有一个三星Galaxy Tab 2 10.1