如何解决Android:带有形状的淡入/淡出会产生白色闪光
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<shape android:shape="rectangle"/>
</item>
<item
android:bottom="0dp"
android:left="-150dp"
android:right="-150dp"
android:top="-80dp">
<shape android:shape="oval">
<solid android:color="@color/stationappbannerkleur"/>
</shape>
</item>
</layer-list>
使用淡出和淡入动画会产生带有横幅的白色闪光:
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="http://schemas.android.com/apk/res/android">
<alpha
android:fromAlpha="0.0"
android:toAlpha="1.0"
android:duration="500"
android:repeatCount="0" />
</set>
我想得到它。谁能帮帮我?
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。