aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/view_nav_header.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-12-29 15:23:48 -0800
committerAllan Wang <me@allanwang.ca>2019-12-29 15:23:48 -0800
commit57a668d8aebc3f323ee8885fdd8b1396b0ff5b1c (patch)
treeeb56e58927c3d24ca180d6e8fcd33e757aaaacc5 /app/src/main/res/layout/view_nav_header.xml
parent006bc3d1a4798859fdce3c49f8a8690c823f1d7f (diff)
downloadfrost-57a668d8aebc3f323ee8885fdd8b1396b0ff5b1c.tar.gz
frost-57a668d8aebc3f323ee8885fdd8b1396b0ff5b1c.tar.bz2
frost-57a668d8aebc3f323ee8885fdd8b1396b0ff5b1c.zip
Finish adding remaining click events
Diffstat (limited to 'app/src/main/res/layout/view_nav_header.xml')
-rw-r--r--app/src/main/res/layout/view_nav_header.xml20
1 files changed, 11 insertions, 9 deletions
diff --git a/app/src/main/res/layout/view_nav_header.xml b/app/src/main/res/layout/view_nav_header.xml
index 38df36d7..a5dc05d6 100644
--- a/app/src/main/res/layout/view_nav_header.xml
+++ b/app/src/main/res/layout/view_nav_header.xml
@@ -8,10 +8,10 @@
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
- android:elevation="2dp"
- android:layout_height="160dp">
+ android:layout_height="160dp"
+ android:elevation="2dp">
- <androidx.appcompat.widget.AppCompatImageView
+ <ImageView
android:id="@+id/background"
android:layout_width="0dp"
android:layout_height="160dp"
@@ -54,9 +54,9 @@
android:id="@+id/name"
android:layout_width="0dp"
android:layout_height="wrap_content"
- android:layout_marginStart="@dimen/kau_activity_horizontal_margin"
+ android:layout_marginStart="@dimen/drawer_nav_horizontal_margins"
android:layout_marginTop="@dimen/kau_activity_vertical_margin"
- android:layout_marginEnd="@dimen/kau_activity_horizontal_margin"
+ android:layout_marginEnd="@dimen/drawer_nav_horizontal_margins"
android:layout_marginBottom="@dimen/kau_activity_vertical_margin"
android:clickable="false"
android:lines="1"
@@ -69,10 +69,10 @@
<ImageView
android:id="@+id/arrow"
- android:layout_width="18dp"
- android:layout_height="18dp"
- android:layout_marginStart="@dimen/kau_activity_horizontal_margin"
- android:layout_marginEnd="@dimen/kau_activity_horizontal_margin"
+ android:layout_width="12dp"
+ android:layout_height="12dp"
+ android:layout_marginStart="@dimen/drawer_nav_horizontal_margins"
+ android:layout_marginEnd="@dimen/drawer_nav_horizontal_margins"
app:layout_constraintBottom_toBottomOf="@id/name"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/name" />
@@ -84,6 +84,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
+ android:paddingTop="8dp"
+ android:paddingBottom="8dp"
android:visibility="gone"
tools:visibility="visible">