1 <?xml version="1.0" encoding="utf-8"?>
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.
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.
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/>.
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 android:theme="@style/ThemeOverlay.AppCompat.Dark"
30 app:layout_constraintTop_toTopOf="parent"
31 tools:showIn="@layout/main_navigation">
33 <include layout="@layout/nav_header_logo" />
36 android:layout_width="match_parent"
37 android:layout_height="match_parent"
38 android:layout_marginStart="@dimen/activity_horizontal_margin"
39 android:layout_marginEnd="@dimen/activity_horizontal_margin"
40 android:gravity="center_vertical"
41 android:orientation="vertical">
44 android:layout_width="match_parent"
45 android:layout_height="wrap_content"
46 android:text="@string/app_name"
47 android:textAppearance="@style/TextAppearance.AppCompat.Body1" />
50 android:id="@+id/drawer_version_text"
51 android:layout_width="wrap_content"
52 android:layout_height="wrap_content"
53 android:text="dummy version"
54 tools:ignore="HardcodedText" />