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 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 xmlns:app="http://schemas.android.com/apk/res-auto"
21 android:layout_width="match_parent"
22 android:layout_height="@dimen/nav_header_height"
23 android:background="@drawable/side_nav_bar"
24 android:gravity="bottom"
25 android:orientation="vertical"
26 android:paddingLeft="@dimen/activity_horizontal_margin"
27 android:paddingTop="@dimen/activity_vertical_margin"
28 android:paddingRight="@dimen/activity_horizontal_margin"
29 android:paddingBottom="@dimen/activity_vertical_margin"
30 android:theme="@style/ThemeOverlay.AppCompat.Dark">
33 android:id="@+id/imageView"
34 android:layout_width="wrap_content"
35 android:layout_height="wrap_content"
36 android:contentDescription="@string/nav_header_desc"
37 android:paddingTop="@dimen/nav_header_vertical_spacing"
38 app:srcCompat="@mipmap/ic_launcher_round" />
41 android:layout_width="match_parent"
42 android:layout_height="wrap_content"
43 android:paddingTop="@dimen/nav_header_vertical_spacing"
44 android:text="@string/app_name"
45 android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
48 android:id="@+id/drawer_version_text"
49 android:layout_width="wrap_content"
50 android:layout_height="wrap_content"
51 android:text="@string/nav_header_subtitle" />