]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/activity_new_transaction.xml
197865eb4296ae38d7267fe8f0ccb53a97fee7c3
[mobile-ledger.git] / app / src / main / res / layout / activity_new_transaction.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3   ~ Copyright © 2018 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.
9   ~
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.
14   ~
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/>.
17   -->
18
19 <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     xmlns:app="http://schemas.android.com/apk/res-auto"
21     xmlns:tools="http://schemas.android.com/tools"
22     android:layout_width="match_parent"
23     android:layout_height="match_parent"
24     tools:context=".ui.activity.NewTransactionActivity">
25
26     <android.support.design.widget.AppBarLayout
27         android:layout_width="match_parent"
28         android:layout_height="wrap_content"
29         android:theme="@style/AppTheme.AppBarOverlay">
30
31         <android.support.v7.widget.Toolbar
32             android:id="@+id/toolbar"
33             android:layout_width="match_parent"
34             android:layout_height="?attr/actionBarSize"
35             android:background="?attr/colorPrimary"
36             app:popupTheme="@style/AppTheme.PopupOverlay" />
37
38     </android.support.design.widget.AppBarLayout>
39
40     <include layout="@layout/content_new_transaction" />
41
42     <android.support.constraint.ConstraintLayout
43         android:layout_width="match_parent"
44         android:layout_height="match_parent">
45
46         <ProgressBar
47             android:id="@+id/save_transaction_progress"
48             android:layout_width="80dp"
49             android:layout_height="80dp"
50             android:layout_margin="4dp"
51             android:indeterminate="true"
52             android:visibility="invisible"
53             app:layout_constraintBottom_toBottomOf="parent"
54             app:layout_constraintEnd_toEndOf="parent" />
55
56     </android.support.constraint.ConstraintLayout>
57
58 </android.support.design.widget.CoordinatorLayout>