1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright 2015-2016 Soren Stoutner <soren@stoutner.com>.
6 This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
8 Privacy Browser is free software: you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
13 Privacy Browser is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with Privacy Browser. If not, see <http://www.gnu.org/licenses/>. -->
22 <!-- `android:windowTranslucentStatus` makes the system status bar transparent.
23 When it is specified the root layout should include android:fitsSystemWindows="true". -->
24 <style name="PrivacyBrowser" parent="Theme.AppCompat.Light.NoActionBar">
25 <item name="android:windowTranslucentStatus">true</item>
26 <item name="colorAccent">@color/blue</item>
29 <style name="PrivacyBrowser.MainWebView" />
31 <!-- `android:windowTranslucentStatus` makes the system status bar transparent.
32 When it is specified the root layout should include android:fitsSystemWindows="true".
33 `colorPrimaryDark` goes behind the status bar, which is then darkened by the overlay.
34 `windowActionModeOverlay` makes the contextual app bar cover the support app bar.
35 `actionModeStyle` sets the style of the contextual app bar. -->
36 <style name="PrivacyBrowser.SecondaryActivity">
37 <item name="android:windowTranslucentStatus">true</item>
38 <item name="colorPrimaryDark">@color/blue</item>
39 <item name="windowActionModeOverlay">true</item>
40 <item name="android:actionModeBackground">@color/blue</item>
43 <!-- `colorPrimaryDark` is the color of the status bar. -->
44 <style name="PrivacyBrowser.Settings" parent="Theme.AppCompat.Light.DarkActionBar">
45 <item name="colorPrimary">@color/blue</item>
46 <item name="colorPrimaryDark">@color/dark_blue</item>
47 <item name="colorAccent">@color/blue</item>
50 <!-- `ThemeOverlay.AppCompat.Dark.ActionBar` makes the text and the icons in the AppBar white.-->
51 <style name="PrivacyBrowser.DarkAppBar" parent="ThemeOverlay.AppCompat.Dark.ActionBar" />
53 <style name="PrivacyBrowser.AppBarOverlay" parent="ThemeOverlay.AppCompat.ActionBar" />
55 <style name="PrivacyBrowser.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
57 <style name="PrivacyBrowser.AlertDialog" parent="Theme.AppCompat.Light.Dialog.Alert">
58 <item name="colorAccent">@color/blue</item>