]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/drawer.xml
add another account row bu default
[mobile-ledger.git] / app / src / main / res / layout / drawer.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent">
5
6     <ScrollView
7         android:layout_width="match_parent"
8         android:layout_height="match_parent"
9         android:layout_alignParentStart="true"
10         android:layout_alignParentTop="true">
11
12         <LinearLayout
13             android:layout_width="match_parent"
14             android:layout_height="wrap_content"
15             android:orientation="vertical">
16
17             <include
18                 layout="@layout/nav_header_latest_transactions"
19                 android:layout_width="match_parent"
20                 android:layout_height="wrap_content" />
21
22             <LinearLayout
23                 android:layout_width="match_parent"
24                 android:layout_height="match_parent"
25                 android:orientation="vertical"
26                 android:paddingStart="16dp"
27                 android:paddingEnd="16dp">
28
29                 <TextView
30                     android:id="@+id/textView4"
31                     style="@style/nav_button"
32                     android:drawableStart="@drawable/ic_home_black_24dp"
33                     android:text="@string/nav_latest_transactions_title" />
34
35                 <TextView
36                     android:id="@+id/textView5"
37                     style="@style/nav_button"
38                     android:drawableStart="@drawable/ic_assignment_black_24dp"
39                     android:text="@string/nav_reports_title" />
40             </LinearLayout>
41
42         </LinearLayout>
43     </ScrollView>
44
45     <LinearLayout
46         android:layout_width="match_parent"
47         android:layout_height="96dp"
48         android:layout_alignParentEnd="true"
49         android:layout_alignParentBottom="true"
50         android:layout_marginEnd="0dp"
51         android:divider="@drawable/list_divider"
52         android:elevation="2dp"
53         android:orientation="vertical"
54         android:paddingStart="16dp"
55         android:paddingEnd="16dp"
56         android:showDividers="beginning">
57
58         <TextView
59             android:id="@+id/textView2"
60             style="@style/nav_button"
61             android:layout_weight="1"
62             android:drawableStart="@drawable/ic_settings_black_24dp"
63             android:onClick="nav_settings_clicked"
64             android:text="@string/action_settings" />
65
66         <TextView
67             android:id="@+id/nav_exit"
68             style="@style/nav_button"
69             android:layout_weight="1"
70             android:drawableStart="@drawable/ic_exit_to_app_black_24dp"
71             android:onClick="nav_exit_clicked"
72             android:text="@string/nav_exit_title" />
73
74     </LinearLayout>
75
76 </RelativeLayout>