diff --git a/app/src/main/java/com/example/hpostesting/presentation/dashboard/AboutFragment.kt b/app/src/main/java/com/example/hpostesting/presentation/dashboard/AboutFragment.kt new file mode 100644 index 0000000..798e064 --- /dev/null +++ b/app/src/main/java/com/example/hpostesting/presentation/dashboard/AboutFragment.kt @@ -0,0 +1,54 @@ +/* + * // Copyright (c) 2024 ShanMukha Innovations Pvt. Ltd. All rights reserved. + * // Notice: All information contained herein is, and remains + * // the property of ShanMukha Innovations Pvt. Ltd. and its suppliers, + * // if any. The intellectual and technical concepts contained + * // herein are proprietary to ShanMukha Innovations Pvt. Ltd. + * // and its suppliers and may be covered by Indian and Foreign Patents, + * // patents in process, and are protected by trade secret or copyright law. + * // Dissemination of this information or reproduction of this material + * // is strictly forbidden unless prior written permission is obtained + * // from ShanMukha Innovations Pvt. Ltd. + */ + +package com.example.hpostesting.presentation.dashboard + +import android.content.Context +import android.content.SharedPreferences +import android.os.BatteryManager +import android.os.Bundle +import android.util.Log +import androidx.fragment.app.Fragment +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import androidx.fragment.app.activityViewModels +import com.example.hpostesting.data.constant.Constants +import com.example.hpostesting.data.constant.DataHolder +import com.example.hpostesting.data.model.patient.HemoCubeTestData +import com.example.hpostesting.presentation.adapter.OfflineUserListAdapter +import com.example.hpostesting.presentation.adapter.UserListAdapter +import com.example.hpostesting.presentation.hemocube.HemoCubeViewModel +import com.example.hpostesting.presentation.testRight.TestRightViewModel +import `in`.sminnovations.hpostesting.R +import `in`.sminnovations.hpostesting.databinding.FragmentAboutBinding +import `in`.sminnovations.hpostesting.databinding.FragmentActivitiesBinding +import `in`.sminnovations.hpostesting.databinding.FragmentHomeBinding + +class AboutFragment : Fragment() { + private lateinit var binding: FragmentAboutBinding + override fun onCreateView( + inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?, + ): View { + binding = FragmentAboutBinding.inflate(inflater, container, false) + + return binding.root + } + + override fun onViewCreated(view: View, savedInstanceState: Bundle?) { + super.onViewCreated(view, savedInstanceState) + + + } + +} \ No newline at end of file diff --git a/app/src/main/java/com/example/hpostesting/presentation/dashboard/DashboardActivity.kt b/app/src/main/java/com/example/hpostesting/presentation/dashboard/DashboardActivity.kt index f269197..8deb5b2 100644 --- a/app/src/main/java/com/example/hpostesting/presentation/dashboard/DashboardActivity.kt +++ b/app/src/main/java/com/example/hpostesting/presentation/dashboard/DashboardActivity.kt @@ -150,7 +150,7 @@ class DashboardActivity : AppCompatActivity(), IDataCollector { appBarConfiguration = AppBarConfiguration( setOf( - R.id.nav_home, R.id.nav_profile, R.id.nav_activity,R.id.nav_settings + R.id.nav_home, R.id.nav_profile, R.id.nav_activity,R.id.nav_settings,R.id.nav_about ), drawerLayout ) setupActionBarWithNavController(navController, appBarConfiguration) diff --git a/app/src/main/res/drawable/baseline_contact_support_24.xml b/app/src/main/res/drawable/baseline_contact_support_24.xml new file mode 100644 index 0000000..244519c --- /dev/null +++ b/app/src/main/res/drawable/baseline_contact_support_24.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/app/src/main/res/layout/fragment_about.xml b/app/src/main/res/layout/fragment_about.xml new file mode 100644 index 0000000..2482e26 --- /dev/null +++ b/app/src/main/res/layout/fragment_about.xml @@ -0,0 +1,33 @@ + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/menu/activity_main_drawer.xml b/app/src/main/res/menu/activity_main_drawer.xml index e9efad4..4108939 100644 --- a/app/src/main/res/menu/activity_main_drawer.xml +++ b/app/src/main/res/menu/activity_main_drawer.xml @@ -33,5 +33,9 @@ android:id="@+id/nav_settings" android:icon="@drawable/baseline_settings_24" android:title="@string/menu_settings" /> + diff --git a/app/src/main/res/navigation/dashboard_navigation.xml b/app/src/main/res/navigation/dashboard_navigation.xml index 7f8947e..5f86269 100644 --- a/app/src/main/res/navigation/dashboard_navigation.xml +++ b/app/src/main/res/navigation/dashboard_navigation.xml @@ -45,6 +45,11 @@ android:name="com.example.hpostesting.presentation.dashboard.SlideshowFragment" android:label="@string/action_settings" tools:layout="@layout/fragment_slideshow" /> + Files Usb Terminal Lab Name + About + About \ No newline at end of file diff --git a/app/src/main/res/values-kn/strings.xml b/app/src/main/res/values-kn/strings.xml index 18ec6d9..afaf8ed 100644 --- a/app/src/main/res/values-kn/strings.xml +++ b/app/src/main/res/values-kn/strings.xml @@ -291,6 +291,8 @@ Firefox Files Usb Terminal + About + About Lab Name diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 9fb1034..e5948a2 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -292,5 +292,7 @@ Cuvette is absent , please place the cuvette and retry again Retry again Usb Terminal + About + About Lab Name \ No newline at end of file