android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentStart="true"
- android:layout_alignParentTop="true">
+ android:layout_alignParentTop="true"
+ android:background="@color/drawer_background">
<LinearLayout
android:layout_width="match_parent"
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:id="@+id/nav_actions"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="vertical"
- android:paddingLeft="16dp">
+ android:orientation="vertical">
<TextView
- android:id="@+id/textView4"
+ android:id="@+id/nav_account_summary"
style="@style/nav_button"
android:drawableStart="@drawable/ic_home_black_24dp"
+ android:text="@string/account_summary_title" />
+
+ <TextView
+ android:id="@+id/nav_latest_transactions"
+ style="@style/nav_button"
+ android:drawableStart="@drawable/ic_event_note_black_24dp"
android:text="@string/nav_latest_transactions_title" />
<TextView
style="@style/nav_button"
android:drawableStart="@drawable/ic_assignment_black_24dp"
android:text="@string/nav_reports_title" />
+
</LinearLayout>
</LinearLayout>