]> git.ktnx.net Git - mobile-ledger.git/blob - app/src/main/res/navigation/new_transaction_navigation.xml
more string translations
[mobile-ledger.git] / app / src / main / res / navigation / new_transaction_navigation.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
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.
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 <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">
24
25     <fragment
26         android:id="@+id/newTransactionFragment"
27         android:name="net.ktnx.mobileledger.ui.activity.NewTransactionFragment"
28         android:label="NewTransactionFragment" >
29         <action
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         <argument
35             android:name="error"
36             app:argType="string"
37             app:nullable="true"
38             android:defaultValue="@null"/>
39     </fragment>
40     <fragment
41         android:id="@+id/newTransactionSavingFragment"
42         android:name="net.ktnx.mobileledger.ui.NewTransactionSavingFragment"
43         android:label="fragment_new_transaction_saving" >
44         <action
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"
50             />
51         <action
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"
57             />
58     </fragment>
59 </navigation>