android:shape="rectangle">
<gradient
android:angle="135"
- android:centerColor="#009688"
- android:endColor="#00695C"
- android:startColor="#4DB6AC"
+ android:centerColor="@color/colorPrimary"
+ android:endColor="@color/colorPrimaryDark"
+ android:startColor="#b64db6"
android:type="linear" />
</shape>
\ No newline at end of file
android:layout_height="wrap_content"
android:orientation="vertical">
- <LinearLayout
+ <include
+ layout="@layout/nav_header_latest_transactions"
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/colorPrimary"
- android:orientation="vertical">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingLeft="16dp">
-
- <TextView
- android:id="@+id/textView6"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:paddingTop="32dp"
- android:text="@string/app_name"
- android:textColor="@android:color/white" />
-
- <TextView
- android:id="@+id/drawer_version_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="v1.1.1"
- android:textColor="@android:color/white" />
- </LinearLayout>
-
- </LinearLayout>
+ android:layout_height="wrap_content" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:paddingLeft="16dp">
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp">
<TextView
android:id="@+id/textView4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/nav_header_vertical_spacing"
- android:text="@string/nav_header_title"
+ android:text="@string/app_name"
android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
<TextView
- android:id="@+id/textView"
+ android:id="@+id/drawer_version_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/nav_header_subtitle" />