1
0
Fork 0
mirror of https://github.com/gsantner/dandelion synced 2025-12-09 13:51:18 +01:00

Made navdrawer header section with profile image and name clickable as replacement for removed profile navdrawer item

This commit is contained in:
vanitasvitae 2016-08-10 17:28:54 +02:00
parent 4cb91d430a
commit 16e1a4ea0c
3 changed files with 15 additions and 15 deletions

View file

@ -13,6 +13,7 @@
android:src="@drawable/header" />
<LinearLayout
android:id="@+id/nav_profile_picture"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
@ -20,7 +21,8 @@
android:layout_alignParentStart="true"
android:layout_alignParentTop="true"
android:layout_marginTop="24dp"
android:orientation="horizontal">
android:orientation="horizontal"
android:clickable="true">
<ImageView
android:id="@+id/navheader_user_image"

View file

@ -7,11 +7,6 @@
android:icon="@drawable/jb_stream"
android:title="@string/nav_stream" />
<item
android:id="@+id/nav_profile"
android:icon="@drawable/ic_person_black_48px"
android:title="@string/nav_profile" />
<item
android:id="@+id/nav_followed_tags"
android:icon="@drawable/ic_local_offer_black_48px"