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:onClick="onLatestTransactionsClicked"
57 android:text="@string/nav_latest_transactions_title" />
60 android:id="@+id/textView5"
61 style="@style/nav_button"
62 android:drawableStart="@drawable/ic_assignment_black_24dp"
63 android:text="@string/nav_reports_title" />
71 android:layout_width="match_parent"
72 android:layout_height="96dp"
73 android:layout_alignParentEnd="true"
74 android:layout_alignParentBottom="true"
75 android:layout_marginEnd="0dp"
76 android:divider="@drawable/list_divider"
77 android:elevation="2dp"
78 android:orientation="vertical"
79 android:paddingStart="16dp"
80 android:paddingEnd="16dp"
81 android:showDividers="beginning">
84 android:id="@+id/textView2"
85 style="@style/nav_button"
86 android:layout_weight="1"
87 android:drawableStart="@drawable/ic_settings_black_24dp"
88 android:onClick="nav_settings_clicked"
89 android:text="@string/action_settings" />
92 android:id="@+id/nav_exit"
93 style="@style/nav_button"
94 android:layout_weight="1"
95 android:drawableStart="@drawable/ic_exit_to_app_black_24dp"
96 android:onClick="nav_exit_clicked"
97 android:text="@string/nav_exit_title" />