mirror of
https://github.com/hmalik144/Driver.git
synced 2026-03-18 15:36:03 +00:00
- flavours compartmentalised
Took 5 minutes
This commit is contained in:
144
app/src/driver/res/navigation/main_navigation.xml
Normal file
144
app/src/driver/res/navigation/main_navigation.xml
Normal file
@@ -0,0 +1,144 @@
|
||||
<?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"
|
||||
app:startDestination="@id/homeDriverFragment">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/homeDriverFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.HomeFragment"
|
||||
android:label="fragment_home"
|
||||
tools:layout="@layout/fragment_home_driver">
|
||||
<action
|
||||
android:id="@+id/to_driverOverallFragment"
|
||||
app:destination="@id/driverOverallFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_vehicleOverallFragment"
|
||||
app:destination="@id/vehicleOverallFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/driverOverallFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.DriverOverallFragment"
|
||||
android:label="DriverOverallFragment"
|
||||
tools:layout="@layout/fragment_driver_overall">
|
||||
<action
|
||||
android:id="@+id/to_driverProfileFragment"
|
||||
app:destination="@id/driverProfileFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_driverLicenseFragment"
|
||||
app:destination="@id/driverLicenseFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_privateHireLicenseFragment2"
|
||||
app:destination="@id/privateHireLicenseFragment2"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/vehicleOverallFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.VehicleOverallFragment"
|
||||
android:label="VehicleOverallFragment"
|
||||
tools:layout="@layout/fragment_vehicle_overall">
|
||||
<action
|
||||
android:id="@+id/to_vehicleSetupFragment"
|
||||
app:destination="@id/vehicleSetupFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_insuranceFragment"
|
||||
app:destination="@id/insuranceFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_motFragment"
|
||||
app:destination="@id/motFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_logbookFragment"
|
||||
app:destination="@id/logbookFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/to_privateHireVehicleFragment"
|
||||
app:destination="@id/privateHireVehicleFragment"
|
||||
app:enterAnim="@anim/nav_default_enter_anim"
|
||||
app:exitAnim="@anim/nav_default_exit_anim"
|
||||
app:popEnterAnim="@anim/nav_default_enter_anim"
|
||||
app:popExitAnim="@anim/nav_default_exit_anim" />
|
||||
|
||||
</fragment>
|
||||
<fragment
|
||||
android:id="@+id/driverProfileFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.driverprofile.DriverProfileFragment"
|
||||
android:label="fragment_driver_profile"
|
||||
tools:layout="@layout/fragment_driver_profile" />
|
||||
<fragment
|
||||
android:id="@+id/driverLicenseFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.driverprofile.DriverLicenseFragment"
|
||||
android:label="fragment_driver_license"
|
||||
tools:layout="@layout/fragment_driver_license" />
|
||||
|
||||
|
||||
<fragment
|
||||
android:id="@+id/vehicleSetupFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.vehicleprofile.VehicleProfileFragment"
|
||||
android:label="VehicleSetupFragment"
|
||||
tools:layout="@layout/fragment_vehicle_setup" />
|
||||
<fragment
|
||||
android:id="@+id/insuranceFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.vehicleprofile.InsuranceFragment"
|
||||
android:label="InsuranceFragment"
|
||||
tools:layout="@layout/fragment_insurance" />
|
||||
<fragment
|
||||
android:id="@+id/motFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.vehicleprofile.MotFragment"
|
||||
android:label="MotFragment"
|
||||
tools:layout="@layout/fragment_mot" />
|
||||
<fragment
|
||||
android:id="@+id/logbookFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.vehicleprofile.LogbookFragment"
|
||||
android:label="fragment_logbook"
|
||||
tools:layout="@layout/fragment_logbook" />
|
||||
<activity
|
||||
android:id="@+id/nav_user_settings"
|
||||
android:name="h_mal.appttude.com.driver.ui.update.UpdateActivity"
|
||||
android:label="fragment_profile"
|
||||
tools:layout="@layout/update_activity" />
|
||||
<fragment
|
||||
android:id="@+id/privateHireLicenseFragment2"
|
||||
android:name="h_mal.appttude.com.driver.ui.driverprofile.PrivateHireLicenseFragment"
|
||||
android:label="fragment_private_hire_license"
|
||||
tools:layout="@layout/fragment_private_hire_license" />
|
||||
<fragment
|
||||
android:id="@+id/privateHireVehicleFragment"
|
||||
android:name="h_mal.appttude.com.driver.ui.vehicleprofile.PrivateHireVehicleFragment"
|
||||
android:label="fragment_private_hire_vehicle"
|
||||
tools:layout="@layout/fragment_private_hire_vehicle" />
|
||||
</navigation>
|
||||
Reference in New Issue
Block a user