1<resources>
2    <style name="Theme.Settings" parent="@android:style/Theme.DeviceDefault.Settings">
3        <!-- For AndroidX AlertDialogs -->
4        <item name="alertDialogTheme">@style/Theme.AppCompat.DayNight.Dialog.Alert</item>
5    </style>
6
7    <!-- Override the main app's style for ActionPrimaryButton to get around lack of new style
8         support in robolectric  -->
9    <style name="ActionPrimaryButton" parent="android:Widget.DeviceDefault.Button"/>
10
11    <!-- Test version of Theme.Settings.Home. Needed to build homepage activity in Robolectric -->
12    <style name="Theme.Settings.Home" parent="Theme.AppCompat.DayNight.NoActionBar">
13        <item name="colorPrimary">#ffffff</item>
14        <item name="colorPrimaryDark">#ffffff</item>
15        <item name="colorAccent">#ffffff</item>
16        <item name="preferenceTheme">@style/SettingsPreferenceTheme</item>
17        <item name="android:windowLightStatusBar">true</item>
18        <!-- Define this color for material design -->
19        <item name="colorPrimaryVariant">@android:color/white</item>
20    </style>
21
22</resources>
23