Skip to content

Commit

Permalink
[Refactor] Attempt to fix the spinner text color in M3 dynamic theming
Browse files Browse the repository at this point in the history
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>
  • Loading branch information
MuntashirAkon committed Nov 9, 2024
1 parent 24aaddc commit 47d6ef1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libcore/ui/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@
<style name="Widget.AppTheme.MaterialSpinner.AutoCompleteTextView" parent="Widget.Material3.AutoCompleteTextView.OutlinedBox.Dense">
<item name="simpleItemLayout">@layout/auto_complete_dropdown_item</item>
<item name="android:dropDownSelector">?attr/listChoiceBackgroundIndicator</item>
<item name="android:textColor">?attr/colorOnPrimaryContainer</item>
</style>

<style name="Widget.AppTheme.MaterialSpinner.AutoCompleteTextView.Small" parent="Widget.AppTheme.AutoCompleteTextView">
Expand All @@ -152,6 +153,7 @@
<item name="android:paddingTop">8dp</item>
<item name="android:paddingBottom">8dp</item>
<item name="android:minHeight">34dp</item>
<item name="android:textColor">?attr/colorOnPrimaryContainer</item>
</style>

<!-- MaterialAlertDialog -->
Expand Down

0 comments on commit 47d6ef1

Please sign in to comment.