我有按钮,我使用旋转动画旋转了45度,并应用于烘焙消息的点击监听器.
当我点击上面50%的按钮吐司显示.但当我点击按钮的低50%时,没有任何东西在发生.
这里有动画代码.
<?xml version="1.0" encoding="utf-8"?>
<rotate
xmlns:android="http://schemas.android.com/apk/res/android"
android:fromDegrees="45"
android:toDegrees="45"
android:pivotX="50%"
android:pivotY="50%"
android:duration="0" android:fillAfter="true">
</rotate>
Run Code Online (Sandbox Code Playgroud)

提前致谢.....!