diff --git a/app/src/main/java/com/example/myapplication/ui/settings/SettingsFragment.kt b/app/src/main/java/com/example/myapplication/ui/settings/SettingsFragment.kt
index 6628fd9..92669d7 100644
--- a/app/src/main/java/com/example/myapplication/ui/settings/SettingsFragment.kt
+++ b/app/src/main/java/com/example/myapplication/ui/settings/SettingsFragment.kt
@@ -4,7 +4,6 @@ import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
-import android.widget.TextView
import androidx.fragment.app.Fragment
import androidx.lifecycle.ViewModelProvider
import com.example.myapplication.databinding.FragmentSettingsBinding
@@ -24,15 +23,15 @@ class SettingsFragment : Fragment() {
savedInstanceState: Bundle?
): View {
val homeViewModel =
- ViewModelProvider(this).get(SettingsViewModel::class.java)
+ ViewModelProvider(this)[SettingsViewModel::class.java]
_binding = FragmentSettingsBinding.inflate(inflater, container, false)
val root: View = binding.root
- val textView: TextView = binding.textSettings
- homeViewModel.text.observe(viewLifecycleOwner) {
- textView.text = it
- }
+// val textView: TextView = binding.textSettings
+// homeViewModel.text.observe(viewLifecycleOwner) {
+// textView.text = it
+// }
return root
}
diff --git a/app/src/main/res/layout/fragment_settings.xml b/app/src/main/res/layout/fragment_settings.xml
index 5f90bc6..75bfcd5 100644
--- a/app/src/main/res/layout/fragment_settings.xml
+++ b/app/src/main/res/layout/fragment_settings.xml
@@ -1,22 +1,60 @@
-
+ android:layout_height="match_parent">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index d7b9f8b..00aae77 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -3,4 +3,11 @@
Compressing
Completed
Settings
+ Video Size
+ Image Size
+ 8mb
+ 50mb
+ 500mb
+ Custom
+ Enter Size in MB
\ No newline at end of file