<?xml version="1.0" encoding="utf-8"?>
<!--
- Copyright © 2015-2020 Soren Stoutner <soren@stoutner.com>.
+ Copyright © 2015-2022 Soren Stoutner <soren@stoutner.com>.
- This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+ This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
- Privacy Browser is free software: you can redistribute it and/or modify
+ Privacy Browser Android is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
- Privacy Browser is distributed in the hope that it will be useful,
+ Privacy Browser Android is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
- along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
+ along with Privacy Browser Android. If not, see <http://www.gnu.org/licenses/>. -->
<resources>
<style name="PrivacyBrowser" parent="Theme.AppCompat.DayNight.NoActionBar" >
<!-- Main Items. -->
- <item name="windowActionModeOverlay">true</item> <!-- `windowActionModeOverlay` makes the contextual app bar cover the support app bar. -->
+ <item name="android:statusBarColor">?android:attr/colorBackground</item>
+ <item name="android:windowLightStatusBar">false</item>
<!-- Colors. -->
<item name="android:actionModeBackground">?android:attr/colorBackground</item>
<item name="android:textColorHighlight">@color/violet_700</item>
- <item name="blueTextColor">@color/violet_500</item>
- <item name="blueTitleTextColor">@color/violet_700</item>
- <item name="buttonBackgroundColorSelector">@color/button_background_color_selector_night</item>
- <item name="buttonTextColorSelector">@color/button_text_color_selector_night</item>
<item name="colorAccent">@color/violet_500</item>
<item name="redTextColor">@color/red_900</item>
<!-- Tints. -->
- <item name="addTabIconTintColor">@color/white</item>
- <item name="domainSettingsIconTintColor">@color/violet_500</item>
<item name="fabIconTintColor">@color/gray_875</item>
<item name="findOnPageIconTintColor">@color/violet_500</item>
<item name="navigationIconTintColor">@color/violet_500</item>
<!-- Drawables. -->
<item name="listSelectorDrawable">@drawable/list_selector_night</item>
+ </style>
- <!-- Options Icons. -->
- <item name="aboutIcon">@drawable/about_night</item>
- <item name="closeIcon">@drawable/close_night</item>
- <item name="copyIcon">@drawable/copy_night</item>
- <item name="deleteIcon">@drawable/delete_night</item>
- <item name="editIcon">@drawable/edit_night</item>
- <item name="moveToFolderIcon">@drawable/move_to_folder_night</item>
- <item name="saveIcon">@drawable/save_night</item>
- <item name="saveImageIcon">@drawable/images_options_night</item>
- <item name="saveTextIcon">@drawable/save_text_night</item>
- <item name="selectAllIcon">@drawable/select_all_night</item>
- <item name="shareIcon">@drawable/share_night</item>
- <item name="sortIcon">@drawable/sort_night</item>
-
- <!-- Dialog Icons. -->
- <item name="aboutBlueIcon">@drawable/about_blue_night</item>
- <item name="domainsBlueIcon">@drawable/domains_night</item>
- <item name="fontSizeBlueIcon">@drawable/font_size_night</item>
- <item name="lockBlueIcon">@drawable/lock_night</item>
+ <style name="PrivacyBrowserAppBar" parent="ThemeOverlay.AppCompat.DayNight.ActionBar" >
+ <item name="android:textColorHighlight">@color/violet_700</item>
</style>
<style name="PrivacyBrowserSettings" parent="Theme.AppCompat.DayNight" >
+ <!-- Main Items. -->
+ <item name="android:statusBarColor">?android:attr/colorBackground</item>
+ <item name="android:windowLightStatusBar">?attr/isLightTheme</item>
+
<!-- Colors. -->
<item name="colorAccent">@color/violet_500</item>
<item name="colorPrimary">?android:attr/colorBackground</item> <!-- `colorPrimary` sets the background color of the app bar. -->
-
- <!-- Icons. -->
- <item name="appThemeIcon">@drawable/app_theme_night</item>
- <item name="downloadIcon">@drawable/downloads_enabled_night</item>
- <item name="fontSizeIcon">@drawable/font_size_night</item>
- <item name="homepageIcon">@drawable/home_enabled_night</item>
- <item name="searchIcon">@drawable/search_enabled_night</item>
- <item name="userAgentIcon">@drawable/user_agent_night</item>
</style>
<style name="PrivacyBrowserAlertDialog" parent="Theme.AppCompat.DayNight.Dialog.Alert" >
+ <!-- Colors. -->
<item name="colorAccent">@color/violet_500</item>
</style>
</resources>
\ No newline at end of file