Skip to content

Commit

Permalink
fix: logout dialog box UI inconsistencies (openMF#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
laxyapahuja authored and garvit984 committed Jun 11, 2020
1 parent 3a091b3 commit 9ea018b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,19 @@
<style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light"/>

<style name="MaterialAlertDialogStyle" parent="Theme.AppCompat.Light.Dialog.Alert">
<item name="colorAccent">@color/colorPrimary</item>
<item name="colorAccent">@color/white</item>
<item name="android:textColorPrimary">@color/black</item>
<item name="android:background">@color/white</item>
<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/colorPrimary</item>
</style>

<style name="PositiveButtonStyle" parent="Widget.MaterialComponents.Button.TextButton.Dialog">
<item name="android:textColor">@color/colorPrimary</item>
</style>

<style name="MaterialDatePickerTheme" parent="Theme.AppCompat.Light.Dialog">
Expand Down

0 comments on commit 9ea018b

Please sign in to comment.