<item name="android:textColorHighlight">@color/blue_200</item>
<item name="windowActionModeOverlay">true</item>
<item name="android:actionModeBackground">@color/blue_700</item>
- <item name="actionBarPopupTheme">@style/PrivacyBrowserPopupOverlayLight</item>
- <item name="android:spinnerItemStyle">@style/spinnerItemStyle</item>
- <item name="android:spinnerDropDownItemStyle">@style/spinnerDropDownItemStyle</item>
+ <item name="actionBarPopupTheme">@style/PrivacyBrowserPopupsLight</item>
</style>
<!-- `colorPrimaryDark` is the color of the status bar. -->
<item name="colorAccent">@color/blue_700</item>
</style>
- <!-- `ThemeOverlay.AppCompat.Dark.ActionBar` makes the text and the icons in the AppBar white. -->
- <style name="DarkAppBar" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
-
<!-- `ThemeOverlay.AppCompat.ActionBar` makes the hamburger icons dark. -->
- <style name="PrivacyBrowserAppBarOverlayLight" parent="ThemeOverlay.AppCompat.ActionBar" />
+ <style name="PrivacyBrowserAppBarLight" parent="ThemeOverlay.AppCompat.ActionBar" />
+
+ <!-- `ThemeOverlay.AppCompat.Dark.ActionBar` makes the text and the icons in the AppBar white. -->
+ <style name="PrivacyBrowserAppBarWhiteText" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
<!-- `ThemeOverlay.AppCompat.Light` makes the popups have a light background with dark text. -->
- <style name="PrivacyBrowserPopupOverlayLight" parent="ThemeOverlay.AppCompat.Light" />
+ <style name="PrivacyBrowserPopupsLight" parent="ThemeOverlay.AppCompat.Light" />
<style name="LightAlertDialog" parent="Theme.AppCompat.Light.Dialog.Alert" >
<item name="colorAccent">@color/blue_700</item>
</style>
- <!-- This `Spinner` style is needed to fix a layout bug in Huawei devices running Android 7.0. -->
- <style name="spinnerItemStyle" >
- <item name="android:paddingStart">8dp</item>
- <item name="android:textColor">@color/black</item>
- <item name="android:textSize">18sp</item>
- </style>
-
- <!-- This `Spinner` style is needed to fix a layout bug in Huawei devices running Android 7.0. -->
- <style name="spinnerDropDownItemStyle" >
- <item name="android:paddingStart">16dp</item>
- <item name="android:paddingEnd">16dp</item>
- <item name="android:paddingTop">8dp</item>
- <item name="android:paddingBottom">8dp</item>
- <item name="android:textColor">@color/black</item>
- <item name="android:textSize">18sp</item>
- </style>
-
-
<!-- Dark theme styles. -->
<!-- `android:windowTranslucentStatus` makes the system status bar translucent.
<item name="android:textColorHighlight">@color/blue_800</item>
</style>
- <!-- `ThemeOverlay.AppCompat.Dark.ActionBar` makes the hamburger icons light. -->
- <!-- <style name="PrivacyBrowserAppBarOverlayDark" parent="ThemeOverlay.AppCompat.Dark.ActionBar" >
- <item name="android:background">@color/gray_900</item>
- </style> -->
+ <style name="PrivacyBrowserDark.SecondaryActivity" >
+ <item name="colorPrimaryDark">@color/blue_900</item>
+ </style>
+
+ <!-- `ThemeOverlay.AppCompat.Dark.ActionBar` makes the text and the icons in the AppBar white. -->
+ <style name="PrivacyBrowserAppBarDark" parent="ThemeOverlay.AppCompat.Dark.ActionBar" >
+ <item name="android:textColorPrimary">@color/gray_300</item>
+ </style>
<!-- `ThemeOverlay.AppCompat.Dark` makes the popups have a dark background with light text. -->
<!-- <style name="PrivacyBrowserPopupOverlayDark" parent="ThemeOverlay.AppCompat.Dark" /> -->