Commit 1a50bc82 authored by Sajal Narang's avatar Sajal Narang

Add gradient to navigation bar header

parent 17107285
...@@ -2,8 +2,7 @@ ...@@ -2,8 +2,7 @@
android:shape="rectangle"> android:shape="rectangle">
<gradient <gradient
android:angle="135" android:angle="135"
android:centerColor="#536dfe" android:endColor="@color/colorPrimary"
android:endColor="#536dfe" android:startColor="@color/colorPrimaryDark"
android:startColor="#536dfe"
android:type="linear" /> android:type="linear" />
</shape> </shape>
\ No newline at end of file
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
android:layout_width="64dp" android:layout_width="64dp"
android:layout_height="64dp" android:layout_height="64dp"
android:paddingTop="@dimen/nav_header_vertical_spacing" android:paddingTop="@dimen/nav_header_vertical_spacing"
android:src="@drawable/user_placeholder" /> app:srcCompat="@drawable/user_placeholder" />
<TextView <TextView
android:id="@+id/user_name_nav_header" android:id="@+id/user_name_nav_header"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment