Skip to content

Commit

Permalink
Set alert dialog style
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcanna committed Mar 20, 2021
1 parent 43f8bf0 commit 61674b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions MuzeiWebcam/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
<resources>
<color name="background_window">#22000000</color>
<color name="background_content">#11ffffff</color>
<color name="background_alert">#bbbbbb</color>
</resources>
9 changes: 9 additions & 0 deletions MuzeiWebcam/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,18 @@
<item name="android:windowShowWallpaper">true</item>
<item name="android:windowBackground">@color/background_window</item>
<item name="android:textColor">@android:color/white</item>
<item name="android:textColorPrimary">@android:color/white</item>
<item name="android:textColorSecondary">@android:color/white</item>
<item name="colorAccent">@android:color/white</item>
<item name="android:alertDialogTheme">@style/MWTheme.AlertDialog</item>
<item name="alertDialogTheme">@style/MWTheme.AlertDialog</item>
<item name="preferenceTheme">@style/MWTheme.PreferenceThemeOverlay</item>
</style>
<style name="MWTheme.PreferenceThemeOverlay" parent="@style/PreferenceThemeOverlay">
<item name="android:layout">@layout/fragment_preference_list</item>
</style>
<style name="MWTheme.AlertDialog" parent="@style/Theme.AppCompat.Dialog.Alert">
<item name="android:textColor">@android:color/white</item>
<item name="android:windowBackground">@color/background_alert</item>
</style>
</resources>

0 comments on commit 61674b5

Please sign in to comment.