]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/values-v19/styles.xml
Fix the styling of the About tabs and AppBar.
[PrivacyBrowserAndroid.git] / app / src / main / res / values-v19 / styles.xml
index 96ec9d69419596bbebb2669cfbb8d1dc10179132..86223d31c700b5d1f6f652d6a12901c989f0ca68 100644 (file)
   along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
 
 <resources>
-
-    <!-- The default actionBarSize is 56dp.  53dp is the smallest that doesn't cause the urlTextBox to scroll vertically with a font size of Huge. -->
-    <!-- android:windowTranslucentStatus requires API >= 19.  It makes the system status bar transparent. -->
-    <style name="AppTheme" parent="Theme.AppCompat.Light">
-        <item name="colorAccent">@color/blue</item>
+    <!-- The default actionBarSize is 56dp.  53dp is the smallest that doesn't cause the urlTextBox to scroll vertically with a font size of Huge.
+      android:windowTranslucentStatus requires API >= 19.  It makes the system status bar transparent.
+      When it is specified the root layout should include android:fitsSystemWindows="true". -->
+    <style name="PrivacyBrowser.MainWebView">
         <item name="android:actionBarSize">53dp</item>
+        <item name="android:windowTranslucentStatus">true</item>
     </style>
 
-    <style name="AppTheme.NoActionBar">
-        <item name="windowActionBar">false</item>
-        <item name="windowNoTitle">true</item>
+    <!-- android:windowTranslucentStatus requires API >= 19.  It makes the system status bar transparent.
+      When it is specified the root layout should include android:fitsSystemWindows="true".
+      colorPrimaryDark goes behind the status bar, which is then darkened by the overlay. -->
+    <style name="PrivacyBrowser.About">
         <item name="android:windowTranslucentStatus">true</item>
+        <item name="colorPrimaryDark">@color/blue</item>
     </style>
-
-    <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.AppCompat.ActionBar" />
-
-    <style name="AppTheme.PopupOverlay" parent="ThemeOverlay.AppCompat.Light" />
-
 </resources>
\ No newline at end of file