]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/guide_coordinatorlayout.xml
Create a dark theme for `MainWebViewActivity`.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / guide_coordinatorlayout.xml
index 216544039b80ffa6b4459fe4f324cf32837194e5..54f39617cd8ce6759eb044fc29d9627b0eb12c4d 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright 2016 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
         android:layout_height="match_parent"
         android:orientation="vertical" >
 
-        <!-- We need to set android:background="@color/blue" here or any space to the right of the TabLayout on large devices will be white. -->
+        <!-- We need to set android:background="@color/blue_700" here or any space to the right of the TabLayout on large devices will be white. -->
         <android.support.design.widget.AppBarLayout
             android:id="@+id/guide_appbarlayout"
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
-            android:background="@color/blue"
-            android:theme="@style/PrivacyBrowser.AppBarOverlay" >
+            android:background="@color/blue_700"
+            android:theme="@style/PrivacyBrowserAppBarOverlayLight" >
 
             <!-- android:theme="@style/PrivacyBrowser.DarkAppBar" makes the text and icons in the AppBar white. -->
             <android.support.v7.widget.Toolbar
                 android:id="@+id/guide_toolbar"
                 android:layout_width="match_parent"
                 android:layout_height="wrap_content"
-                android:background="@color/blue"
-                android:theme="@style/PrivacyBrowser.DarkAppBar"
-                app:popupTheme="@style/PrivacyBrowser.PopupOverlay" />
+                android:background="@color/blue_700"
+                android:theme="@style/DarkAppBar"
+                app:popupTheme="@style/PrivacyBrowserPopupOverlayLight" />
 
             <android.support.design.widget.TabLayout
                 android:id="@+id/guide_tablayout"
                 xmlns:android.support.design="http://schemas.android.com/apk/res-auto"
                 android:layout_height="wrap_content"
                 android:layout_width="match_parent"
-                android.support.design:tabBackground="@color/blue"
-                android.support.design:tabTextColor="@color/light_blue"
+                android.support.design:tabBackground="@color/blue_700"
+                android.support.design:tabTextColor="@color/blue_100"
                 android.support.design:tabSelectedTextColor="@color/white"
                 android.support.design:tabIndicatorColor="@color/white"
                 android.support.design:tabMode="scrollable" />