]> 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 3875101051e6da3719839f2350f5caf35425033c..fe46e20e150b2d08b7cc31d21d052ff37aec8aed 100644 (file)
 <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="35dp"
-    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