From 5e2c2668dbdf1b2613eb08992d5e4341544d8979 Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Wed, 23 May 2018 08:08:06 +0200 Subject: [PATCH] Add drawer header --- .../res/layout/activity_currency_summary.xml | 3 ++- .../layout/fragment_marketcap_homeactivity.xml | 2 +- .../layout/fragment_watchlist_homeactivity.xml | 2 +- .../main/res/layout/summary_drawer_header.xml | 16 ++++++++++++++++ 4 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 app/src/main/res/layout/summary_drawer_header.xml diff --git a/app/src/main/res/layout/activity_currency_summary.xml b/app/src/main/res/layout/activity_currency_summary.xml index e573b44..68dac42 100644 --- a/app/src/main/res/layout/activity_currency_summary.xml +++ b/app/src/main/res/layout/activity_currency_summary.xml @@ -18,6 +18,7 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:layout_gravity="start" - app:menu="@menu/summary_navigation_drawer"/> + app:menu="@menu/summary_navigation_drawer" + app:headerLayout="@layout/summary_drawer_header"/> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_marketcap_homeactivity.xml b/app/src/main/res/layout/fragment_marketcap_homeactivity.xml index 8ac8838..788592e 100644 --- a/app/src/main/res/layout/fragment_marketcap_homeactivity.xml +++ b/app/src/main/res/layout/fragment_marketcap_homeactivity.xml @@ -9,7 +9,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:paddingTop="@dimen/fragment_padding" - android:background="@drawable/gradient_background_reverse"> + android:background="@drawable/gradient_background"> + android:background="@drawable/gradient_background"> + + + + + \ No newline at end of file