Fixed dialog buttons color
This commit is contained in:
		@@ -26,6 +26,7 @@
 | 
				
			|||||||
    <color name="disabled">#666</color>
 | 
					    <color name="disabled">#666</color>
 | 
				
			||||||
    <color name="systemBar">@color/defaultBackground</color>
 | 
					    <color name="systemBar">@color/defaultBackground</color>
 | 
				
			||||||
    <color name="defaultBackground">#fff</color>
 | 
					    <color name="defaultBackground">#fff</color>
 | 
				
			||||||
 | 
					    <color name="inactive">#ccc</color>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <!-- List Colors -->
 | 
					    <!-- List Colors -->
 | 
				
			||||||
    <color name="text_color">#333</color>
 | 
					    <color name="text_color">#333</color>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,6 +26,8 @@
 | 
				
			|||||||
        <!-- Generic background -->
 | 
					        <!-- Generic background -->
 | 
				
			||||||
        <item name="android:windowBackground">@color/defaultBackground</item>
 | 
					        <item name="android:windowBackground">@color/defaultBackground</item>
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
 | 
					        <item name="alertDialogTheme">@style/AlertDialogTheme</item>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    <style name="AppTheme" parent="BaseTheme"/>
 | 
					    <style name="AppTheme" parent="BaseTheme"/>
 | 
				
			||||||
@@ -52,4 +54,18 @@
 | 
				
			|||||||
        <item name="android:textColor">@color/white</item>
 | 
					        <item name="android:textColor">@color/white</item>
 | 
				
			||||||
    </style>
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <!-- Alertdialogs -->
 | 
				
			||||||
 | 
					    <style name="AlertDialogTheme" parent="ThemeOverlay.MaterialComponents.Dialog.Alert">
 | 
				
			||||||
 | 
					        <item name="buttonBarNegativeButtonStyle">@style/NegativeButtonStyle</item>
 | 
				
			||||||
 | 
					        <item name="buttonBarPositiveButtonStyle">@style/PositiveButtonStyle</item>
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <style name="NegativeButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
 | 
				
			||||||
 | 
					        <item name="android:textColor">@color/inactive</item>
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
 | 
				
			||||||
 | 
					        <item name="android:textColor">@color/defaultBrand</item>
 | 
				
			||||||
 | 
					    </style>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
</resources>
 | 
					</resources>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user