]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/res/layout/navigation_header.xml
Fix the drawer layouts on devices with notches. https://redmine.stoutner.com/issues/250
[PrivacyBrowserAndroid.git] / app / src / main / res / layout / navigation_header.xml
index 13d390b3aea2f6f7d948e46f7fd46e43c385d0cf..fe46e20e150b2d08b7cc31d21d052ff37aec8aed 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>.
 
 <TextView
     xmlns:android="http://schemas.android.com/apk/res/android"
     android:id="@+id/navigationText"
-    android:layout_width="match_parent"
     android:layout_height="wrap_content"
+    android:layout_width="match_parent"
     android:text="@string/navigation"
-    android:paddingTop="60dp"
-    android:paddingBottom="8dp"
-    android:paddingStart="15dp"
-    android:paddingEnd="15dp"
     android:textStyle="bold"
     android:textSize="20sp"
-    android:background="@color/blue_700"
-    android:textColor="@color/white" />
\ No newline at end of file
+    android:background="?attr/navigationHeaderBackground"
+    android:textColor="?attr/navigationHeaderTextColor" />
\ No newline at end of file