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>

我想得到它。谁能帮帮我?

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)