diff --git a/app/src/main/java/com/tools/device/devcheck/dashboard/CameraFragment.kt b/app/src/main/java/com/tools/device/devcheck/dashboard/CameraFragment.kt new file mode 100644 index 0000000..8e79c7b --- /dev/null +++ b/app/src/main/java/com/tools/device/devcheck/dashboard/CameraFragment.kt @@ -0,0 +1,60 @@ +package com.tools.device.devcheck.dashboard + +import android.os.Bundle +import androidx.fragment.app.Fragment +import android.view.LayoutInflater +import android.view.View +import android.view.ViewGroup +import com.tools.device.devcheck.R + +// TODO: Rename parameter arguments, choose names that match +// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER +private const val ARG_PARAM1 = "param1" +private const val ARG_PARAM2 = "param2" + +/** + * A simple [Fragment] subclass. + * Use the [CameraFragment.newInstance] factory method to + * create an instance of this fragment. + */ +class CameraFragment : Fragment() { + // TODO: Rename and change types of parameters + private var param1: String? = null + private var param2: String? = null + + override fun onCreate(savedInstanceState: Bundle?) { + super.onCreate(savedInstanceState) + arguments?.let { + param1 = it.getString(ARG_PARAM1) + param2 = it.getString(ARG_PARAM2) + } + } + + override fun onCreateView( + inflater: LayoutInflater, container: ViewGroup?, + savedInstanceState: Bundle? + ): View? { + // Inflate the layout for this fragment + return inflater.inflate(R.layout.fragment_camera, container, false) + } + + companion object { + /** + * Use this factory method to create a new instance of + * this fragment using the provided parameters. + * + * @param param1 Parameter 1. + * @param param2 Parameter 2. + * @return A new instance of fragment CameraFragment. + */ + // TODO: Rename and change types and number of parameters + @JvmStatic + fun newInstance(param1: String, param2: String) = + CameraFragment().apply { + arguments = Bundle().apply { + putString(ARG_PARAM1, param1) + putString(ARG_PARAM2, param2) + } + } + } +} \ No newline at end of file diff --git a/app/src/main/res/drawable/attention.png b/app/src/main/res/drawable/attention.png new file mode 100644 index 0000000..a2e1a57 Binary files /dev/null and b/app/src/main/res/drawable/attention.png differ diff --git a/app/src/main/res/drawable/attention_bg.xml b/app/src/main/res/drawable/attention_bg.xml new file mode 100644 index 0000000..244a017 --- /dev/null +++ b/app/src/main/res/drawable/attention_bg.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/app/src/main/res/drawable/camera.png b/app/src/main/res/drawable/camera.png new file mode 100644 index 0000000..3d3423d Binary files /dev/null and b/app/src/main/res/drawable/camera.png differ diff --git a/app/src/main/res/drawable/check_false.png b/app/src/main/res/drawable/check_false.png new file mode 100644 index 0000000..1b08076 Binary files /dev/null and b/app/src/main/res/drawable/check_false.png differ diff --git a/app/src/main/res/drawable/check_true.png b/app/src/main/res/drawable/check_true.png new file mode 100644 index 0000000..50b9992 Binary files /dev/null and b/app/src/main/res/drawable/check_true.png differ diff --git a/app/src/main/res/drawable/copy.png b/app/src/main/res/drawable/copy.png new file mode 100644 index 0000000..f8dd3c1 Binary files /dev/null and b/app/src/main/res/drawable/copy.png differ diff --git a/app/src/main/res/drawable/go_more.png b/app/src/main/res/drawable/go_more.png new file mode 100644 index 0000000..ab59d78 Binary files /dev/null and b/app/src/main/res/drawable/go_more.png differ diff --git a/app/src/main/res/drawable/setting.png b/app/src/main/res/drawable/setting.png new file mode 100644 index 0000000..c826597 Binary files /dev/null and b/app/src/main/res/drawable/setting.png differ diff --git a/app/src/main/res/drawable/subtract.png b/app/src/main/res/drawable/subtract.png new file mode 100644 index 0000000..be82923 Binary files /dev/null and b/app/src/main/res/drawable/subtract.png differ diff --git a/app/src/main/res/drawable/wifi.png b/app/src/main/res/drawable/wifi.png new file mode 100644 index 0000000..cf37f3b Binary files /dev/null and b/app/src/main/res/drawable/wifi.png differ diff --git a/app/src/main/res/font/arimo.ttf b/app/src/main/res/font/arimo.ttf new file mode 100644 index 0000000..c14e0a4 Binary files /dev/null and b/app/src/main/res/font/arimo.ttf differ diff --git a/app/src/main/res/font/bowl_byone.ttf b/app/src/main/res/font/bowl_byone.ttf new file mode 100644 index 0000000..2a37ce2 Binary files /dev/null and b/app/src/main/res/font/bowl_byone.ttf differ diff --git a/app/src/main/res/layout/fragment_camera.xml b/app/src/main/res/layout/fragment_camera.xml new file mode 100644 index 0000000..a608ca2 --- /dev/null +++ b/app/src/main/res/layout/fragment_camera.xml @@ -0,0 +1,14 @@ + + + + + + + \ No newline at end of file