1 <?xml version="1.0" encoding="utf-8"?><!--
2 ~ Copyright © 2021 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 <navigation xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:app="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/new_transaction_navigation"
21 app:startDestination="@id/newTransactionFragment"
25 android:id="@+id/newTransactionFragment"
26 android:name="net.ktnx.mobileledger.ui.new_transaction.NewTransactionFragment"
27 android:label="NewTransactionFragment"
30 android:id="@+id/action_newTransactionFragment_to_newTransactionSavingFragment"
31 app:destination="@id/newTransactionSavingFragment"
32 app:enterAnim="@anim/slide_in_up"
33 app:exitAnim="@anim/slide_out_up"
34 app:launchSingleTop="true"
35 app:popUpTo="@id/new_transaction_navigation"
36 app:popUpToInclusive="true"
40 android:defaultValue="@null"
46 android:id="@+id/newTransactionSavingFragment"
47 android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
48 android:label="fragment_new_transaction_saving"
51 android:id="@+id/action_newTransactionSavingFragment_Success"
52 app:destination="@id/newTransactionFragment"
53 app:enterAnim="@anim/slide_in_up"
54 app:exitAnim="@anim/slide_out_up"
55 app:launchSingleTop="true"
56 app:popExitAnim="@anim/slide_out_down"
57 app:popUpTo="@id/new_transaction_navigation"
58 app:popUpToInclusive="true"
61 android:id="@+id/action_newTransactionSavingFragment_Failure"
62 app:destination="@id/newTransactionFragment"
63 app:enterAnim="@anim/slide_in_down"
64 app:exitAnim="@anim/slide_out_down"
65 app:launchSingleTop="true"
66 app:popExitAnim="@anim/slide_out_up"
67 app:popUpTo="@id/new_transaction_navigation"
68 app:popUpToInclusive="true"