]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/nav_header_layout.xml
more pronounced day/month delimiters in the transaction list
[mobile-ledger.git] / app / src / main / res / layout / nav_header_layout.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2020 Damyan Ivanov.
4   ~ This file is part of MoLe.
5   ~ MoLe 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.
9   ~
10   ~ MoLe 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.
14   ~
15   ~ You should have received a copy of the GNU General Public License
16   ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
17   -->
18
19 <LinearLayout xmlns:app="http://schemas.android.com/apk/res-auto"
20     xmlns:android="http://schemas.android.com/apk/res/android"
21     xmlns:tools="http://schemas.android.com/tools"
22     android:id="@+id/nav_header"
23     android:layout_width="match_parent"
24     android:layout_height="wrap_content"
25     android:background="@drawable/side_nav_bar"
26     android:gravity="center_vertical"
27     android:orientation="horizontal"
28     android:padding="@dimen/activity_vertical_margin"
29     app:layout_constraintTop_toTopOf="parent"
30     >
31
32     <include layout="@layout/nav_header_logo" />
33
34     <LinearLayout
35         android:layout_width="match_parent"
36         android:layout_height="match_parent"
37         android:layout_marginStart="@dimen/activity_horizontal_margin"
38         android:layout_marginEnd="@dimen/activity_horizontal_margin"
39         android:gravity="center_vertical"
40         android:orientation="vertical"
41         >
42
43         <TextView
44             android:layout_width="match_parent"
45             android:layout_height="wrap_content"
46             android:text="@string/app_name"
47             android:textColor="?colorOnPrimary"
48             android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
49
50         <TextView
51             android:id="@+id/drawer_version_text"
52             android:layout_width="wrap_content"
53             android:layout_height="wrap_content"
54             android:text="dummy version"
55             android:textColor="?attr/colorOnPrimary"
56             tools:ignore="HardcodedText" />
57     </LinearLayout>
58
59 </LinearLayout>