1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright © 2018 Damyan Ivanov.
4 ~ This file is part of Mobile-Ledger.
5 ~ Mobile-Ledger is free software: you can distribute it and/or modify it
6 ~ under the term of the GNU General Public License as published by
7 ~ the Free Software Foundation, either version 3 of the License, or
8 ~ (at your opinion), any later version.
10 ~ Mobile-Ledger is distributed in the hope that it will be useful,
11 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 ~ GNU General Public License terms for details.
15 ~ You should have received a copy of the GNU General Public License
16 ~ along with Mobile-Ledger. If not, see <https://www.gnu.org/licenses/>.
19 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:layout_width="match_parent"
21 android:layout_height="match_parent">
24 android:layout_width="match_parent"
25 android:layout_height="match_parent"
26 android:layout_alignParentStart="true"
27 android:layout_alignParentTop="true"
28 android:background="@color/drawer_background">
31 android:layout_width="match_parent"
32 android:layout_height="wrap_content"
33 android:orientation="vertical">
36 layout="@layout/nav_header_latest_transactions"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content" />
41 android:id="@+id/nav_actions"
42 android:layout_width="match_parent"
43 android:layout_height="match_parent"
44 android:orientation="vertical">
47 android:id="@+id/nav_account_summary"
48 style="@style/nav_button"
49 android:drawableStart="@drawable/ic_home_black_24dp"
50 android:text="@string/account_summary_title" />
53 android:id="@+id/nav_latest_transactions"
54 style="@style/nav_button"
55 android:drawableStart="@drawable/ic_event_note_black_24dp"
56 android:text="@string/nav_latest_transactions_title" />
59 android:id="@+id/textView5"
60 style="@style/nav_button"
61 android:drawableStart="@drawable/ic_assignment_black_24dp"
62 android:text="@string/nav_reports_title" />
70 android:layout_width="match_parent"
71 android:layout_height="96dp"
72 android:layout_alignParentEnd="true"
73 android:layout_alignParentBottom="true"
74 android:layout_marginEnd="0dp"
75 android:divider="@drawable/list_divider"
76 android:elevation="2dp"
77 android:orientation="vertical"
78 android:paddingStart="16dp"
79 android:paddingEnd="16dp"
80 android:showDividers="beginning">
83 android:id="@+id/textView2"
84 style="@style/nav_button"
85 android:layout_weight="1"
86 android:drawableStart="@drawable/ic_settings_black_24dp"
87 android:onClick="nav_settings_clicked"
88 android:text="@string/action_settings" />
91 android:id="@+id/nav_exit"
92 style="@style/nav_button"
93 android:layout_weight="1"
94 android:drawableStart="@drawable/ic_exit_to_app_black_24dp"
95 android:onClick="nav_exit_clicked"
96 android:text="@string/nav_exit_title" />