aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/nav_header_main.xml
diff options
context:
space:
mode:
authorDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-08-14 07:47:57 +0000
committerDocile-Alligator <25734209+Docile-Alligator@users.noreply.github.com>2022-08-14 07:47:57 +0000
commit275063684779a02efe7ec8ef971bb219b1f4fd33 (patch)
treebb2ed692f7dc49231d50881be78d7742df63098c /app/src/main/res/layout/nav_header_main.xml
parent7a0a40f696cd05892a42fe5eb2985ee5fdd6f09c (diff)
downloadinfinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar.gz
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar.bz2
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar.lz
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar.xz
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.tar.zst
infinity-for-reddit-275063684779a02efe7ec8ef971bb219b1f4fd33.zip
Apply custom theme to the header of the navigation drawer.
Diffstat (limited to 'app/src/main/res/layout/nav_header_main.xml')
-rw-r--r--app/src/main/res/layout/nav_header_main.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml
index 2b30f55a..6619f129 100644
--- a/app/src/main/res/layout/nav_header_main.xml
+++ b/app/src/main/res/layout/nav_header_main.xml
@@ -2,7 +2,6 @@
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="@dimen/nav_header_height"
- android:background="@drawable/side_nav_bar"
android:gravity="bottom"
android:orientation="vertical"
android:theme="@style/ThemeOverlay.AppCompat.Dark">
@@ -11,7 +10,7 @@
android:id="@+id/banner_image_view_nav_header_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:scaleType="centerCrop"/>
+ android:scaleType="centerCrop" />
<pl.droidsonroids.gif.GifImageView
android:id="@+id/profile_image_view_nav_header_main"
@@ -20,7 +19,7 @@
android:layout_marginTop="40dp"
android:layout_marginBottom="16dp"
android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp"/>
+ android:layout_marginEnd="16dp" />
<TextView
android:id="@+id/name_text_view_nav_header_main"
@@ -30,7 +29,6 @@
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:layout_alignParentStart="true"
- android:textAppearance="@style/TextAppearance.AppCompat.Body1"
android:textSize="?attr/font_default"
android:fontFamily="?attr/font_family"
android:layout_below="@id/profile_image_view_nav_header_main"