Added new dashboard, scanning, registration UI & functionality.

This commit is contained in:
vsuryakumar
2023-05-30 08:48:59 +05:30
parent 30665be147
commit 0e5046d521
72 changed files with 2576 additions and 160 deletions

View File

@@ -0,0 +1,77 @@
<?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/mobile_navigation"
app:startDestination="@+id/nav_home">
<fragment
android:id="@+id/nav_home"
android:name="com.example.hpos.presentation.dashboard.HomeFragment"
android:label="@string/menu_home"
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_nav_home_to_registerOneScanAbhaFragment"
app:destination="@id/registerOneScanAbhaFragment" />
<action
android:id="@+id/action_nav_home_to_mainActivity"
app:destination="@id/mainActivity" />
</fragment>
<fragment
android:id="@+id/nav_profile"
android:name="com.example.hpos.presentation.dashboard.GalleryFragment"
android:label="@string/menu_gallery"
tools:layout="@layout/fragment_gallery" />
<fragment
android:id="@+id/nav_settings"
android:name="com.example.hpos.presentation.dashboard.SlideshowFragment"
android:label="@string/menu_slideshow"
tools:layout="@layout/fragment_slideshow" />
<fragment
android:id="@+id/registerOneScanAbhaFragment"
android:name="com.example.hpos.presentation.dashboard.register.RegisterOneScanAbhaFragment"
android:label="Registration (1/3)"
tools:layout="@layout/fragment_register_one_scan_abha" >
<action
android:id="@+id/action_registerOneScanAbhaFragment_to_registerThreeEnterPatientDetails"
app:destination="@id/registerThreeEnterPatientDetails" />
<action
android:id="@+id/action_registerOneScanAbhaFragment_to_registerOneCreateAbha"
app:destination="@id/registerOneCreateAbha" />
<action
android:id="@+id/action_registerOneScanAbhaFragment_to_registerTwoAadhaarFragment"
app:destination="@id/registerTwoAadhaarFragment" />
</fragment>
<activity
android:id="@+id/mainActivity"
android:name="com.example.hpos.presentation.MainActivity"
android:label="MainActivity" />
<fragment
android:id="@+id/registerThreeEnterPatientDetails"
android:name="com.example.hpos.presentation.dashboard.register.RegisterThreeEnterPatientDetails"
android:label="Registration (3/3)" >
<action
android:id="@+id/action_registerThreeEnterPatientDetails_to_mainActivity"
app:destination="@id/mainActivity" />
</fragment>
<fragment
android:id="@+id/registerOneCreateAbha"
android:name="com.example.hpos.presentation.dashboard.register.RegisterOneCreateAbha"
android:label="Registration (1/3)"
tools:layout="@layout/fragment_register_one_create_abha" >
<action
android:id="@+id/action_registerOneCreateAbha_to_registerTwoAadhaarFragment"
app:destination="@id/registerTwoAadhaarFragment" />
</fragment>
<fragment
android:id="@+id/registerTwoAadhaarFragment"
android:name="com.example.hpos.presentation.dashboard.register.RegisterTwoAadhaarFragment"
android:label="Registration (2/3)"
tools:layout="@layout/fragment_register_two_aadhaar" >
<action
android:id="@+id/action_registerTwoAadhaarFragment_to_registerThreeEnterPatientDetails"
app:destination="@id/registerThreeEnterPatientDetails" />
</fragment>
</navigation>