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" />
38 android:defaultValue="@null"/>
41 android:id="@+id/newTransactionSavingFragment"
42 android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
43 android:label="fragment_new_transaction_saving" >
45 android:id="@+id/action_newTransactionSavingFragment_Success"
46 app:destination="@id/newTransactionFragment"
47 app:enterAnim="@anim/slide_in_up"
48 app:exitAnim="@anim/slide_out_up"
49 app:popExitAnim="@anim/slide_out_down"
52 android:id="@+id/action_newTransactionSavingFragment_Failure"
53 app:destination="@id/newTransactionFragment"
54 app:enterAnim="@anim/slide_in_down"
55 app:exitAnim="@anim/slide_out_down"
56 app:popExitAnim="@anim/slide_out_up"