-
Notifications
You must be signed in to change notification settings - Fork 6
/
drawer_header.xml
35 lines (33 loc) · 1.33 KB
/
drawer_header.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/nav_username"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@id/nav_header_image"
android:layout_marginStart="20dp"
android:layout_marginTop="10dp"
android:breakStrategy="balanced"
android:visibility="invisible"
android:text="Logged in as: KINDALONGUSERNAAAMEEEE"
style="@style/TextAppearance.AppCompat.Title"/>
<TextView
android:id="@+id/nav_playcount"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Scrobbles: 24332"
android:layout_marginStart="20dp"
android:layout_marginTop="5dp"
android:visibility="gone"
android:layout_below="@id/nav_username"
style="@style/TextAppearance.AppCompat.Body2"/>
<ImageView
android:id="@+id/nav_header_image"
android:layout_width="150dp"
android:layout_height="150dp"
android:src="@drawable/ic_account_circle_black_24dp"
android:layout_marginTop="80dp"
android:layout_marginLeft="20dp"/>
</RelativeLayout>