Fixing gradient issue on older android versions (#1069)

paprently  older versions of android can't use gradients with a mix of hex colors and dynamic theme attributes
pull/1713/head
ThomasSession 1 month ago committed by GitHub
parent 8785144731
commit b4a9b22529
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -5,7 +5,7 @@
<gradient <gradient
android:centerY="0.75" android:centerY="0.75"
android:centerColor="#00000000" android:centerColor="?transparent"
android:endColor="?colorPrimary" android:endColor="?colorPrimary"
android:angle="270" /> android:angle="270" />

@ -23,6 +23,7 @@
<attr name="textColorAlert" format="reference|color"/> <attr name="textColorAlert" format="reference|color"/>
<attr name="elementBorderColor" format="reference|color"/> <attr name="elementBorderColor" format="reference|color"/>
<attr name="conversation_background" format="reference|color"/> <attr name="conversation_background" format="reference|color"/>
<attr name="transparent" format="reference|color"/>
<attr name="emoji_text_color" format="color" /> <attr name="emoji_text_color" format="color" />

@ -43,6 +43,7 @@
<item name="onInvertedBackgroundPrimary">?colorPrimary</item> <item name="onInvertedBackgroundPrimary">?colorPrimary</item>
<item name="prominentButtonColor">?colorAccent</item> <item name="prominentButtonColor">?colorAccent</item>
<item name="colorError">?danger</item> <item name="colorError">?danger</item>
<item name="transparent">@color/transparent</item>
<item name="android:actionMenuTextAppearance">@style/MenuTextAppearance</item> <item name="android:actionMenuTextAppearance">@style/MenuTextAppearance</item>
</style> </style>

Loading…
Cancel
Save