Skip to content

Commit d6b32fd

Browse files
committed
Created correct navigation header
1 parent a05b196 commit d6b32fd

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

circulardemo/src/main/res/layout/nav_header.xml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,24 @@
22
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
33
android:layout_width="match_parent"
44
android:layout_height="192dp"
5-
android:background="@color/primary"
5+
android:background="?attr/colorPrimary"
66
android:padding="16dp"
77
android:theme="@style/ThemeOverlay.AppCompat.Dark"
88
android:orientation="vertical"
99
android:gravity="bottom">
1010

11+
<ImageView
12+
android:layout_width="match_parent"
13+
android:layout_height="64dp"
14+
android:scaleType="centerInside"
15+
android:src="@drawable/autsoft_white"
16+
android:layout_marginBottom="16dp"/>
17+
1118
<TextView
1219
android:layout_width="match_parent"
1320
android:layout_height="wrap_content"
1421
android:text="Circular Demo"
1522
android:textAppearance="@style/Base.TextAppearance.AppCompat.Title"
16-
android:textColor="@color/primary_text" />
23+
android:textColor="@color/card_text" />
1724

1825
</LinearLayout>

0 commit comments

Comments
 (0)