1 <?xml version="1.0" encoding="utf-8"?>
3 ~ Copyright © 2019 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.
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.
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/>.
19 <navigation 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:id="@+id/new_transaction_navigation"
23 app:startDestination="@id/newTransactionFragment">
26 android:id="@+id/newTransactionFragment"
27 android:name="net.ktnx.mobileledger.ui.activity.NewTransactionFragment"
28 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"
42 android:defaultValue="@null"/>
45 android:id="@+id/newTransactionSavingFragment"
46 android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
47 android:label="fragment_new_transaction_saving" >
49 android:id="@+id/action_newTransactionSavingFragment_Success"
50 app:destination="@id/newTransactionFragment"
51 app:enterAnim="@anim/slide_in_up"
52 app:exitAnim="@anim/slide_out_up"
53 app:launchSingleTop="true"
54 app:popExitAnim="@anim/slide_out_down"
55 app:popUpTo="@id/new_transaction_navigation"
56 app:popUpToInclusive="true"
59 android:id="@+id/action_newTransactionSavingFragment_Failure"
60 app:destination="@id/newTransactionFragment"
61 app:enterAnim="@anim/slide_in_down"
62 app:exitAnim="@anim/slide_out_down"
63 app:launchSingleTop="true"
64 app:popExitAnim="@anim/slide_out_up"
65 app:popUpTo="@id/new_transaction_navigation"
66 app:popUpToInclusive="true"