]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/layout/activity_new_transaction.xml
transaction save progress - better centering of the progress bar
[mobile-ledger.git] / app / src / main / res / layout / activity_new_transaction.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 <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
19     xmlns:app="http://schemas.android.com/apk/res-auto"
20     xmlns:tools="http://schemas.android.com/tools"
21     android:layout_width="match_parent"
22     android:layout_height="match_parent"
23     tools:context=".ui.activity.NewTransactionActivity">
24
25     <androidx.constraintlayout.widget.ConstraintLayout
26         android:layout_width="match_parent"
27         android:layout_height="match_parent">
28
29         <com.google.android.material.appbar.AppBarLayout
30             android:id="@+id/toolbar_layout"
31             android:layout_width="match_parent"
32             android:layout_height="wrap_content"
33             android:theme="@style/AppTheme.AppBarOverlay"
34             app:layout_constraintEnd_toEndOf="parent"
35             app:layout_constraintStart_toStartOf="parent"
36             app:layout_constraintTop_toTopOf="parent">
37
38             <androidx.appcompat.widget.Toolbar
39                 android:id="@+id/toolbar"
40                 android:layout_width="match_parent"
41                 android:layout_height="?attr/actionBarSize"
42                 android:background="?attr/colorPrimary"
43                 app:popupTheme="@style/AppTheme.PopupOverlay" />
44
45         </com.google.android.material.appbar.AppBarLayout>
46
47         <fragment
48             android:id="@+id/new_transaction_nav"
49             android:name="androidx.navigation.fragment.NavHostFragment"
50             android:layout_width="0dp"
51             android:layout_height="0dp"
52             app:layout_constraintBottom_toBottomOf="parent"
53             app:layout_constraintEnd_toEndOf="parent"
54             app:layout_constraintStart_toStartOf="parent"
55             app:layout_constraintTop_toBottomOf="@id/toolbar_layout"
56             app:navGraph="@navigation/new_transaction_navigation" />
57
58     </androidx.constraintlayout.widget.ConstraintLayout>
59
60 </androidx.coordinatorlayout.widget.CoordinatorLayout>