1 <?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright © 2019 Damyan Ivanov.
3 ~ This file is part of MoLe.
4 ~ MoLe is free software: you can distribute it and/or modify it
5 ~ under the term of the GNU General Public License as published by
6 ~ the Free Software Foundation, either version 3 of the License, or
7 ~ (at your opinion), any later version.
9 ~ MoLe is distributed in the hope that it will be useful,
10 ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
11 ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 ~ GNU General Public License terms for details.
14 ~ You should have received a copy of the GNU General Public License
15 ~ along with MoLe. If not, see <https://www.gnu.org/licenses/>.
18 <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/no_profiles_layout"
21 android:visibility="gone"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent"
24 android:background="?table_row_dark_bg"
25 android:padding="@dimen/activity_horizontal_margin">
28 android:id="@+id/textView"
29 android:layout_width="wrap_content"
30 android:layout_height="wrap_content"
31 android:layout_marginTop="48dp"
32 android:text="@string/text_welcome"
33 android:textColor="?textColor"
34 android:textSize="48sp"
35 app:layout_constraintEnd_toEndOf="parent"
36 app:layout_constraintStart_toStartOf="parent"
37 app:layout_constraintTop_toTopOf="parent" />
40 android:id="@+id/textView3"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:layout_marginStart="8dp"
44 android:layout_marginTop="24dp"
45 android:layout_marginEnd="8dp"
46 android:text="@string/text_welcome_profile_needed"
47 android:textColor="?textColor"
48 android:textSize="20sp"
49 app:layout_constraintEnd_toEndOf="parent"
50 app:layout_constraintStart_toStartOf="parent"
51 app:layout_constraintTop_toBottomOf="@+id/textView" />
54 android:id="@+id/btn_no_profiles_add"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:layout_marginStart="8dp"
58 android:layout_marginTop="24dp"
59 android:layout_marginEnd="8dp"
60 android:layout_marginBottom="8dp"
61 android:backgroundTint="?colorAccent"
62 android:drawablePadding="16dp"
63 android:text="@string/create_profile_label"
64 app:layout_constraintBottom_toBottomOf="parent"
65 app:layout_constraintEnd_toEndOf="parent"
66 app:layout_constraintStart_toStartOf="parent"
67 app:layout_constraintTop_toBottomOf="@+id/textView3" />
68 </androidx.constraintlayout.widget.ConstraintLayout>