Set the default drawable color on a button to the same color as the text.

The previous state seems to default the drawable color to the same as outside-of-button text color, which is both inconsistent and somewhat unreadable.

Test: manual
Bug: 190180868
Change-Id: I592b05cc3cad5a4d10b2adeaecb3feeaa72e7bc5
This commit is contained in:
Yuri Lin
2021-12-22 12:47:17 -05:00
parent 94eebb4ab7
commit 5d3c14a10f

View File

@@ -42,6 +42,7 @@ easier.
<item name="outlineSpotShadowColor">@color/btn_colored_background_material</item>
<item name="textAppearance">?attr/textAppearanceButton</item>
<item name="textColor">@color/btn_colored_text_material</item>
<item name="drawableTint">@color/btn_colored_text_material</item>
</style>
<style name="Widget.DeviceDefault.TextView" parent="Widget.Material.TextView" />
<style name="Widget.DeviceDefault.CheckedTextView" parent="Widget.Material.CheckedTextView"/>