]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/fragment_new_transaction_saving.xml
move new transaction UI into a fragment, have a clean saving progress
[mobile-ledger.git] / app / src / main / res / layout / fragment_new_transaction_saving.xml
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.
8   ~
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.
13   ~
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/>.
16   -->
17
18 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     android:layout_width="match_parent"
20     android:layout_height="match_parent"
21     android:orientation="horizontal">
22
23     <LinearLayout
24         android:layout_width="match_parent"
25         android:layout_height="wrap_content"
26         android:layout_gravity="center_vertical"
27         android:gravity="center_vertical"
28         android:orientation="vertical">
29
30         <TextView
31             android:layout_width="match_parent"
32             android:layout_height="wrap_content"
33             android:text="@string/new_transaction_saving"
34             android:textAlignment="center"
35             android:textSize="18sp" />
36
37         <ProgressBar
38             style="@style/Widget.AppCompat.ProgressBar.Horizontal"
39             android:layout_width="match_parent"
40             android:layout_height="wrap_content"
41             android:indeterminate="true"
42             android:progressTint="@color/colorAccent" />
43
44     </LinearLayout>
45
46 </LinearLayout>