Create a dark theme for `MainWebViewActivity`.
[PrivacyBrowser.git] / app / src / main / res / layout / about_coordinatorlayout.xml
index 4ec9d4d1a83e2c79c2442d4166b2c7eebf98278b..b8ddd1d88b3e498989190f8a768c9a7e8742eceb 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>.
 
 
     <!-- the LinearLayout with orientation="vertical" moves the ViewPager below the AppBarLayout. -->
     <LinearLayout
-        android:layout_width="match_parent"
         android:layout_height="match_parent"
+        android:layout_width="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/about_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/about_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:layout_width="match_parent"
+                android:background="@color/blue_700"
+                android:theme="@style/DarkAppBar"
+                app:popupTheme="@style/PrivacyBrowserPopupOverlayLight" />
 
             <android.support.design.widget.TabLayout
                 android:id="@+id/about_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" />