Skip to content

Commit 2fb72d2

Browse files
Dishebhmarcnause
andauthored
fix: pslab logo in nav menu (#2547)
Co-authored-by: Marc Nause <[email protected]>
1 parent 5d6b449 commit 2fb72d2

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/src/main/res/layout/nav_header_main.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
android:layout_centerVertical="true"
1414
android:baselineAlignBottom="true"
1515
android:orientation="vertical"
16-
android:padding="@dimen/activity_horizontal_margin">
16+
android:padding="@dimen/nav_header_padding">
1717

1818
<ImageView
1919
android:id="@+id/img_profile"
2020
android:layout_width="@dimen/profile_width"
2121
android:layout_height="@dimen/profile_height"
22-
android:src="@drawable/ic_nav_header_logo"
23-
android:contentDescription="@string/app_name" />
22+
android:contentDescription="@string/app_name"
23+
android:src="@drawable/ic_nav_header_logo" />
2424

2525
<TextView
2626
android:id="@+id/name"

app/src/main/res/values/dimens.xml

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
<dimen name="nav_header_vertical_spacing">16dp</dimen>
55
<dimen name="nav_header_height">175dp</dimen>
6+
<dimen name="nav_header_padding">16dp</dimen>
67

78
<dimen name="activity_horizontal_margin">16dp</dimen>
89
<dimen name="fab_margin">16dp</dimen>

0 commit comments

Comments
 (0)