summaryrefslogtreecommitdiffstats
path: root/app/src/main/res/layout/nav_header_main.xml
diff options
context:
space:
mode:
authorMaksymilian Jopek <maks@jopek.eu>2022-09-21 21:20:17 +0200
committerMaksymilian Jopek <maks@jopek.eu>2022-09-21 21:20:17 +0200
commit7a012fedd21a03a26bb40fdf8a91315b6c512ec9 (patch)
tree711cd44e2697bbce85e34907a3b32da3a12d6437 /app/src/main/res/layout/nav_header_main.xml
downloadlector-de-codi-7a012fedd21a03a26bb40fdf8a91315b6c512ec9.tar.gz
lector-de-codi-7a012fedd21a03a26bb40fdf8a91315b6c512ec9.tar.zst
lector-de-codi-7a012fedd21a03a26bb40fdf8a91315b6c512ec9.zip
Initial commit
Diffstat (limited to 'app/src/main/res/layout/nav_header_main.xml')
-rw-r--r--app/src/main/res/layout/nav_header_main.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/app/src/main/res/layout/nav_header_main.xml b/app/src/main/res/layout/nav_header_main.xml
new file mode 100644
index 0000000..c145545
--- /dev/null
+++ b/app/src/main/res/layout/nav_header_main.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ 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:paddingLeft="@dimen/activity_horizontal_margin"
+ android:paddingTop="@dimen/activity_vertical_margin"
+ android:paddingRight="@dimen/activity_horizontal_margin"
+ android:paddingBottom="@dimen/activity_vertical_margin"
+ android:theme="@style/ThemeOverlay.AppCompat.Dark">
+
+ <ImageView
+ android:id="@+id/imageView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:contentDescription="@string/nav_header_desc"
+ android:paddingTop="@dimen/nav_header_vertical_spacing"
+ app:srcCompat="@mipmap/ic_launcher_round" />
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:paddingTop="@dimen/nav_header_vertical_spacing"
+ android:text="@string/nav_header_title"
+ android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
+
+ <TextView
+ android:id="@+id/textView"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/nav_header_subtitle" />
+</LinearLayout> \ No newline at end of file