123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- <?xml version="1.0" encoding="utf-8"?>
- <navigation xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:app="http://schemas.android.com/apk/res-auto"
- xmlns:tools="http://schemas.android.com/tools"
- android:id="@+id/nav_graph"
- app:startDestination="@id/MainFragment">
- <!-- 主页面 -->
- <fragment
- android:id="@+id/MainFragment"
- android:name="com.emato.ich.fragment.MainFragment"
- android:label="@string/main_fragment_label"
- tools:layout="@layout/fragment_main">
- <action
- android:id="@+id/action_mainFragment_to_sendFragment"
- app:destination="@id/SendKeyBoardFragment" />
- <action
- android:id="@+id/action_mainFragment_to_express_delivery_fragment"
- app:destination="@id/ExpressDeliveryFragment" />
- <action
- android:id="@+id/action_mainFragment_to_courier_fragment"
- app:destination="@id/Courier" />
- <action
- android:id="@+id/action_mainFragment_to_takeFragment"
- app:destination="@id/TakeFragment" />
- <action
- android:id="@+id/action_mainFragment_to_chooseCabinetFragment"
- app:destination="@id/ChooseCabinetFragment" />
- </fragment>
- <!-- 投递页面:投递员登录页面 -->
- <fragment
- android:id="@+id/SendKeyBoardFragment"
- android:name="com.emato.ich.fragment.SendKeyBoardFragment"
- android:label="@string/send_fragment_label"
- tools:layout="@layout/fragment_send_key_board">
- <action
- android:id="@+id/action_sendFragment_to_sendMainFragment"
- app:destination="@id/SendMainFragment" />
- <!-- <action-->
- <!-- android:id="@+id/action_sendFragment_to_paymentFragment"-->
- <!-- app:destination="@id/PaymentFragment" />-->
- <action
- android:id="@+id/action_sendFragment_to_collectMaterialsFragment"
- app:destination="@id/CollectMaterialsFragment" />
- <action
- android:id="@+id/action_sendFragment_to_mainFragment"
- app:destination="@id/MainFragment" />
- </fragment>
- <!-- 输入投递信息 -->
- <fragment
- android:id="@+id/InputInfoKeyBoardFragment"
- android:name="com.emato.ich.fragment.InputInfoKeyBoardFragment"
- android:label=""
- tools:layout="@layout/fragment_input_key_board">
- <action
- android:id="@+id/action_InputInfoKeyBoardFragment_to_sendInfoConfirmFragment"
- app:destination="@id/SendInfoConfirmFragment" />
- <action
- android:id="@+id/action_InputInfoKeyBoardFragment_to_chooseCabinetFragment"
- app:destination="@id/ChooseCabinetFragment"/>
- <action
- android:id="@+id/action_InputInfoKeyBoardFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 我要寄快递页面 -->
- <fragment
- android:id="@+id/ExpressDeliveryFragment"
- android:name="com.emato.ich.fragment.ExpressDeliveryFragment"
- android:label="@string/express_Delivery_fragment_label"
- tools:layout="@layout/fragment_express_delivery">
- <action
- android:id="@+id/action_ExpressDeliveryFragment_to_ChooseCabinetFragment"
- app:destination="@id/ChooseCabinetFragment" />
- <action
- android:id="@+id/action_expressDeliveryFragment_to_mainFragment"
- app:destination="@id/MainFragment" />
- <action
- android:id="@+id/action_expressDeliveryFragment_to_sendInfoConfirmFragment"
- app:destination="@id/SendInfoConfirmFragment"/>
- </fragment>
- <!-- 我是快递员页面 -->
- <fragment
- android:id="@+id/Courier"
- android:name="com.emato.ich.fragment.CourierFragment"
- android:label="@string/courier_label"
- tools:layout="@layout/fragment_courier">
- <action
- android:id="@+id/action_courierFragment_to_mainFragment"
- app:destination="@id/MainFragment" />
- <action
- android:id="@+id/action_courierFragment_to_sendKeyBoardFragment"
- app:destination="@id/SendKeyBoardFragment" />
- <!--快点员派件-->
- <!-- <action
- android:id="@+id/action_courierFragment_to_mainFragment"
- app:destination="@id/MainFragment" />-->
- <!--揽件按钮-->
- <!-- <action
- android:id="@+id/action_courierFragment_to_mainFragment"
- app:destination="@id/MainFragment" />-->
- </fragment>
- <!-- 取件页面 -->
- <fragment
- android:id="@+id/TakeFragment"
- android:name="com.emato.ich.fragment.TakeFragment"
- android:label="@string/take_fragment_label"
- tools:layout="@layout/fragment_take">
- <action
- android:id="@+id/action_takeFragment_to_takeCodeFragment"
- app:destination="@id/TakeCodeFragment" />
- <action
- android:id="@+id/action_takeFragment_to_mainFragment"
- app:destination="@id/MainFragment" />
- </fragment>
- <!-- 输入取件码页面 -->
- <fragment
- android:id="@+id/TakeCodeFragment"
- android:name="com.emato.ich.fragment.TakeCodeFragment"
- android:label=""
- tools:layout="@layout/fragment_take_code">
- <action
- android:id="@+id/action_takeCodeFragment_to_takeFragment"
- app:destination="@id/TakeFragment"/>
- <action
- android:id="@+id/action_takeCodeFragment_to_takeSuccessFragment"
- app:destination="@id/TakeSuccessFragment"/>
- <action
- android:id="@+id/action_takeCodeFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 输入运单号揽件页面 -->
- <fragment
- android:id="@+id/CollectMaterialsFragment"
- android:name="com.emato.ich.fragment.CollectMaterialsFragment"
- android:label="运单号揽件页面"
- tools:layout="@layout/fragment_collect_materials">
- <action
- android:id="@+id/action_collectMaterialsFragment_to_takeSuccessFragment"
- app:destination="@id/TakeSuccessFragment"/>
- <action
- android:id="@+id/action_collectMaterialsFragment_to_sendInfoConfirmFragment"
- app:destination="@id/SendInfoConfirmFragment"/>
- <action
- android:id="@+id/action_collectMaterialsFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 扫码支付页面 -->
- <fragment
- android:id="@+id/PaymentFragment"
- android:name="com.emato.ich.fragment.PaymentFragment"
- android:label="扫码支付页面"
- tools:layout="@layout/fragment_payment">
- <action
- android:id="@+id/action_paymentFragment_to_sendSuccess"
- app:destination="@id/SendSuccessFragment"/>
- <action
- android:id="@+id/action_paymentFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- <action
- android:id="@+id/action_paymentFragment_to_sendMainFragment"
- app:destination="@id/SendMainFragment"/>
- <action
- android:id="@+id/action_paymentFragment_to_InputInfoKeyBoardFragment"
- app:destination="@id/InputInfoKeyBoardFragment"/>
- </fragment>
- <!-- 选择投递还是异常处理 -->
- <fragment
- android:id="@+id/SendMainFragment"
- android:name="com.emato.ich.fragment.SendMainFragment"
- android:label="@string/send_main"
- tools:layout="@layout/fragment_send_main">
- <action
- android:id="@+id/action_sendMainFragment_to_chooseCabinetFragment"
- app:destination="@id/ChooseCabinetFragment"/>
- <action
- android:id="@+id/action_sendMainFragment_to_exceptionFragment"
- app:destination="@id/ExceptionFragment"/>
- <action
- android:id="@+id/action_sendMainFragment_to_sendFragment"
- app:destination="@id/SendKeyBoardFragment"/>
- <action
- android:id="@+id/action_sendMainFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 选择柜子类型 -->
- <fragment
- android:id="@+id/ChooseCabinetFragment"
- android:name="com.emato.ich.fragment.ChooseCabinetFragment"
- android:label="@string/choose_cabinet"
- tools:layout="@layout/fragment_choose_cabinet">
- <action
- android:id="@+id/action_chooseCabinetFragment_to_InputInfoKeyBoardFragment"
- app:destination="@id/InputInfoKeyBoardFragment"/>
- <action
- android:id="@+id/action_chooseCabinetFragment_to_paymentFragment"
- app:destination="@id/PaymentFragment"/>
- <action
- android:id="@+id/action_chooseCabinetFragment_to_sendInfoConfirmFragment"
- app:destination="@id/SendInfoConfirmFragment"/>
- <action
- android:id="@+id/action_chooseCabinetFragment_to_exceptionFragment"
- app:destination="@id/ExceptionFragment"/>
- <action
- android:id="@+id/action_chooseCabinetFragment_to_sendMainFragment"
- app:destination="@id/SendMainFragment"/>
- <action
- android:id="@+id/action_chooseCabinetFragment_to_expressDeliveryFragment"
- app:destination="@id/ExpressDeliveryFragment"/>
-
- <action
- android:id="@+id/action_chooseCabinetFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 常见问题解决页面 -->
- <fragment
- android:id="@+id/ExceptionFragment"
- android:name="com.emato.ich.fragment.ExceptionFragment"
- android:label="@string/issue_page"
- tools:layout="@layout/fragment_exception">
- <action
- app:destination="@id/ChooseCabinetFragment"
- android:id="@+id/action_exceptionFragment_to_ChooseCabinetFragment"/>
- <action
- android:id="@+id/actionExceptionFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- <action
- android:id="@+id/action_exceptionFragment_to_sendMainFragment"
- app:destination="@id/SendMainFragment"/>
- <action
- android:id="@+id/action_exceptionFragment_to_sendInfoConfirmMainFragment"
- app:destination="@id/SendInfoConfirmFragment"/>
- <action
- android:id="@+id/action_exceptionFragment_to_sendSuccessFragment"
- app:destination="@id/SendSuccessFragment"/>
- <action
- android:id="@+id/action_InputInfoKeyBoardFragment_to_sendInfoConfirmFragment"
- app:destination="@id/SendInfoConfirmFragment" />
- </fragment>
- <!-- 投递确认页面 -->
- <fragment
- android:id="@+id/SendInfoConfirmFragment"
- android:name="com.emato.ich.fragment.SendInfoConfirmFragment"
- android:label="@string/send_confirm_page"
- tools:layout="@layout/fragment_send_info_confirm">
- <action
- android:id="@+id/action_sendInfoConfirmFragment_to_exceptionFragment"
- app:destination="@id/ExceptionFragment"/>
- <action
- android:id="@+id/action_sendInfoConfirmFragment_to_sendSuccessFragment"
- app:destination="@id/SendSuccessFragment"/>
- <action
- android:id="@+id/action_sendInfoConfirmFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 投递成功页 -->
- <fragment
- android:id="@+id/SendSuccessFragment"
- android:name="com.emato.ich.fragment.SendSuccessFragment"
- android:label=""
- tools:layout="@layout/fragment_send_success">
- <action
- android:id="@+id/action_sendSuccessFragment_to_chooseCabinetFragment"
- app:destination="@id/ChooseCabinetFragment"/>
- <action
- android:id="@+id/action_sendSuccessFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- </fragment>
- <!-- 取件成功提示页 -->
- <fragment
- android:id="@+id/TakeSuccessFragment"
- android:name="com.emato.ich.fragment.TakeSuccessFragment"
- android:label=""
- tools:layout="@layout/fragment_take_success">
- <action
- android:id="@+id/action_takeSuccessFragment_to_mainFragment"
- app:destination="@id/MainFragment"/>
- <action
- android:id="@+id/action_takeSuccessFragment_to_takeCodeFragment"
- app:destination="@id/TakeCodeFragment"/>
- <action
- android:id="@+id/action_takeSuccessFragment_to_collectMaterialsFragment"
- app:destination="@id/CollectMaterialsFragment"/>
- </fragment>
- </navigation>
|