1 <?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright © 2020 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:layout_width="match_parent"
21 android:layout_height="match_parent"
26 android:id="@+id/imageView"
27 android:layout_width="180dp"
28 android:layout_height="180dp"
29 android:tint="?colorPrimary"
30 app:layout_constraintBottom_toTopOf="@id/progressBar"
31 app:layout_constraintEnd_toEndOf="parent"
32 app:layout_constraintStart_toStartOf="parent"
33 app:layout_constraintTop_toTopOf="parent"
34 app:layout_constraintVertical_chainStyle="packed"
35 app:srcCompat="@drawable/app_icon_transparent_bg"
36 android:contentDescription="@string/splash_icon_description"
39 android:id="@+id/progressBar"
40 style="@style/Widget.AppCompat.ProgressBar.Horizontal"
41 android:layout_width="0dp"
42 android:layout_height="wrap_content"
43 android:indeterminate="true"
44 android:progressTint="?attr/colorPrimary"
45 app:layout_constraintBottom_toTopOf="@id/textView4"
46 app:layout_constraintEnd_toEndOf="parent"
47 app:layout_constraintStart_toStartOf="parent"
48 app:layout_constraintTop_toBottomOf="@id/imageView"
51 android:id="@+id/textView4"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:text="@string/new_transaction_saving"
55 android:textAlignment="center"
56 android:textSize="18sp"
57 app:layout_constraintBottom_toBottomOf="parent"
58 app:layout_constraintEnd_toEndOf="parent"
59 app:layout_constraintStart_toStartOf="parent"
60 app:layout_constraintTop_toBottomOf="@id/progressBar"
62 <androidx.core.widget.ContentLoadingProgressBar
63 android:layout_width="60dp"
64 android:layout_height="60dp"
65 android:indeterminate="true"
66 android:indeterminateTint="?colorPrimary"
67 android:progressTint="?colorPrimary"
68 app:growMode="incoming"
69 app:layout_constraintBottom_toBottomOf="@id/textView4"
70 app:layout_constraintEnd_toStartOf="@id/textView4"
71 app:layout_constraintTop_toTopOf="@id/textView4"
75 </androidx.constraintlayout.widget.ConstraintLayout>