]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/domain_settings_coordinatorlayout.xml
Create a dark theme for `MainWebViewActivity`.
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / domain_settings_coordinatorlayout.xml
index ceb1beacb7e2770b3953e1718d651b5e4fe0613e..ab14206de3109bf898ee5b84d5c0a7eaf325e817 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 
 <!--
-  Copyright 2017 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2017 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
@@ -20,6 +20,7 @@
 
 <!-- `android:fitsSystemWindows="true"` moves the AppBar below the status bar.  When it is specified the theme should include `<item name="android:windowTranslucentStatus">true</item>` to make the status bar a transparent, darkened overlay. -->
 <android.support.design.widget.CoordinatorLayout
+    android:id="@+id/domain_settings_coordinatorlayout"
     xmlns:android="http://schemas.android.com/apk/res/android"
     xmlns:app="http://schemas.android.com/apk/res-auto"
     android:layout_height="match_parent"
@@ -35,7 +36,7 @@
         <android.support.design.widget.AppBarLayout
             android:layout_height="wrap_content"
             android:layout_width="match_parent"
-            android:theme="@style/AppBarOverlay" >
+            android:theme="@style/PrivacyBrowserAppBarOverlayLight" >
 
             <!-- `android:theme="@style/PrivacyBrowser.DarkAppBar"1 makes the text and icons in the `AppBar` white. -->
             <android.support.v7.widget.Toolbar
@@ -44,7 +45,7 @@
                 android:layout_width="match_parent"
                 android:background="@color/blue_700"
                 android:theme="@style/DarkAppBar"
-                app:popupTheme="@style/LightPopupOverlay" />
+                app:popupTheme="@style/PrivacyBrowserPopupOverlayLight" />
         </android.support.design.widget.AppBarLayout>
 
         <ScrollView