shape на android 6-7 окрашивается белым

Так выглядит shape

<?xml version="1.0" encoding="utf-8"?><layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
    <shape android:shape="rectangle">

        <gradient
            android:angle="90"
            android:centerColor="#00FFFFFF"
            android:centerX="0.6"
            android:endColor="#08191926"
            android:startColor="#191926"
            android:type="linear" />


        <corners android:radius="0dp" />
    </shape>
</item>

Тема установлена вот так

 <style name="Theme.MaterialComponents.DayNight.NoActionBar.Bridge" parent="Theme.MaterialComponents.Light.NoActionBar.Bridge" />

<style name="Theme.Movie42" parent="Theme.MaterialComponents.DayNight.NoActionBar.Bridge">
    <!-- Primary brand color. -->
    <item name="android:textAppearance">@style/TextStyle</item>
    <item name="colorPrimary">@color/colorPrimary</item>
    <item name="colorPrimaryVariant">@color/colorPrimaryDark</item>

    <item name="colorPrimaryDark">@color/colorPrimaryDark</item>
    <item name="colorAccent">@color/colorAccent</item>
    <item name="colorSecondary">@color/colorAccent</item>
    <!-- Status bar color. -->
    <item name="android:statusBarColor" tools:targetApi="l">?attr/colorPrimaryVariant</item>
    <!-- Customize your theme here. -->
</style>

Как должно выглядеть(И выглядит на Android 10)

как оно выглядит на Android 7

так выглядит слой с shape  который находится над ImageView

Судя по всему #08191926 уходит в белый, как это исправить ?


Ответы (0 шт):