File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change 7676 <style name =" Snabble.Rating.Positive" parent =" @android:style/Widget.CompoundButton.RadioButton" >
7777 <item name =" android:button" >@drawable/snabble_rating_positive</item >
7878 </style >
79+
80+ <style name =" Widget.App.Snackbar" parent =" Widget.MaterialComponents.Snackbar" >
81+ <!-- this child makes changes to the background color of the snackbar-->
82+ <item name =" materialThemeOverlay" >@style/ThemeOverlay.App.Snackbar</item >
83+ <!-- if this is made 0 then the action button text color will be white-->
84+ <!-- if this is 1 then the custom color can be set to action button text-->
85+ <item name =" actionTextColorAlpha" >1</item >
86+ </style >
87+
88+ <style name =" Widget.App.SnackbarButton" parent =" Widget.MaterialComponents.Button.TextButton.Snackbar" >
89+ <item name =" android:textColor" >?attr/colorPrimary</item >
90+ </style >
91+
92+ <style name =" Widget.App.SnackbarText" parent =" Widget.MaterialComponents.Snackbar.TextView" >
93+ <item name =" android:textColor" >?attr/colorOnSurface</item >
94+ </style >
95+
96+ <style name =" ThemeOverlay.App.Snackbar" parent =" " >
97+ <item name =" colorOnSurface" >?attr/colorSurface</item >
98+ </style >
99+
79100</resources >
You can’t perform that action at this time.
0 commit comments