Commit 465e711e authored by shohboz's avatar shohboz

[ADD] MUS-191 Feature, added settings screen

parent 5282610d
......@@ -6,6 +6,7 @@ import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.mobiuz.app.databinding.ActivityLanguageBinding
import com.mobiuz.app.dev.model.SharedPref
import com.mobiuz.app.dev.ui.auth.AuthActivity
import com.mobiuz.app.dev.ui.global.CONSTANTS
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
......
package com.mobiuz.app.dev.ui.settings
import android.content.Intent
import android.os.Bundle
import android.view.View
import androidx.core.view.isVisible
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import com.mobiuz.app.R
import com.mobiuz.app.databinding.FragmentLanguageBinding
import com.mobiuz.app.dev.model.SharedPref
import com.mobiuz.app.dev.ui.base.BaseFragment
import com.mobiuz.app.dev.ui.global.ButtonClick
import com.mobiuz.app.dev.ui.global.CONSTANTS
import com.mobiuz.app.dev.utils.LocaleHelper
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
class LanguageFragment : BaseFragment(R.layout.fragment_language) {
@Inject
lateinit var pref: SharedPref
private var _bn: FragmentLanguageBinding? = null
private val bn get() = _bn ?: throw NullPointerException("cannot inflate")
private val navController: NavController by lazy(LazyThreadSafetyMode.NONE) { NavHostFragment.findNavController(this) }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
_bn = FragmentLanguageBinding.bind(view)
setUpUI()
collects()
}
override fun setUpUI() {
bn.apply {
toolbar.setNavigationOnClickListener {
requireActivity().finish()
}
bn.apply {
when (pref.language) {
CONSTANTS.UZ -> imageUzbek.isVisible = true
CONSTANTS.RU -> imageRussian.isVisible = true
CONSTANTS.EN -> imageEnglish.isVisible = true
}
uzbekLang.setOnClickListener(object : ButtonClick(){
override fun onSingleClick(v: View?) {
setLangAndNavigate(CONSTANTS.UZ)
}
})
russianLang.setOnClickListener(object : ButtonClick(){
override fun onSingleClick(v: View?) {
setLangAndNavigate(CONSTANTS.RU)
}
})
englishLang.setOnClickListener(object : ButtonClick(){
override fun onSingleClick(v: View?) {
setLangAndNavigate(CONSTANTS.EN)
}
})
}
}
}
private fun setLangAndNavigate(lang: String) {
pref.language = lang
LocaleHelper.setLocale(requireContext())
val intent = Intent(requireContext(), SettingsActivity::class.java)
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_TASK_ON_HOME
startActivity(intent)
requireActivity().finish()
}
override fun collects() {
}
override fun onDestroy() {
_bn = null
super.onDestroy()
}
}
\ No newline at end of file
package com.mobiuz.app.dev.ui.settings
import android.os.Bundle
import android.view.View
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import com.mobiuz.app.R
import com.mobiuz.app.databinding.FragmentProfileBinding
import com.mobiuz.app.dev.model.SharedPref
import com.mobiuz.app.dev.ui.base.BaseFragment
import com.mobiuz.app.dev.ui.global.ButtonClick
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
class ProfileFragment : BaseFragment(R.layout.fragment_profile) {
@Inject
lateinit var pref: SharedPref
private var _bn: FragmentProfileBinding? = null
private val bn get() = _bn ?: throw NullPointerException("cannot inflate")
private val navController: NavController by lazy(LazyThreadSafetyMode.NONE) { NavHostFragment.findNavController(this) }
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
_bn = FragmentProfileBinding.bind(view)
setUpUI()
collects()
}
override fun setUpUI() {
bn.apply {
toolbar.setNavigationOnClickListener {
requireActivity().finish()
}
btn0890.setOnClickListener(object : ButtonClick() {
override fun onSingleClick(v: View?) {
}
})
btn0890.setOnClickListener(object : ButtonClick() {
override fun onSingleClick(v: View?) {
}
})
btnEmail.setOnClickListener(object : ButtonClick() {
override fun onSingleClick(v: View?) {
}
})
btnSim.setOnClickListener(object : ButtonClick() {
override fun onSingleClick(v: View?) {
}
})
}
}
override fun collects() {
}
override fun onDestroy() {
_bn = null
super.onDestroy()
}
}
\ No newline at end of file
package com.mobiuz.app.dev.ui.settings
import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import androidx.navigation.NavController
import androidx.navigation.fragment.NavHostFragment
import com.mobiuz.app.R
import com.mobiuz.app.databinding.ActivitySettingsBinding
import com.mobiuz.app.dev.model.SharedPref
import com.mobiuz.app.dev.ui.global.CONSTANTS
import com.mobiuz.app.dev.utils.LocaleHelper
import com.mobiuz.app.dev.utils.Utils
import dagger.hilt.android.AndroidEntryPoint
import javax.inject.Inject
@AndroidEntryPoint
class SettingsActivity : AppCompatActivity() {
private var _bn: ActivitySettingsBinding? = null
private val bn get() = _bn ?: throw NullPointerException("cannot inflate")
private lateinit var navController: NavController
@Inject
lateinit var pref: SharedPref
override fun onCreate(savedInstanceState: Bundle?) {
LocaleHelper.setLocale(this)
super.onCreate(savedInstanceState)
_bn = ActivitySettingsBinding.inflate(layoutInflater)
setContentView(bn.root)
val window = window.decorView
window.systemUiVisibility = window.systemUiVisibility or View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
val fragment = supportFragmentManager.findFragmentById(R.id.settings_container) as NavHostFragment
navController = NavHostFragment.findNavController(fragment)
intent?.let {
val type = it.getStringExtra(CONSTANTS.TYPE_SETTINGS)
when (type) {
CONSTANTS.PROFILE -> {
navController.popBackStack()
navController.navigate(R.id.profileFragment, null, Utils.navOptions())
}
CONSTANTS.SUPPORT -> {
navController.popBackStack()
navController.navigate(R.id.supportFragment, null, Utils.navOptions())
}
CONSTANTS.SAFETY -> {
navController.popBackStack()
navController.navigate(R.id.safetyFragment, null, Utils.navOptions())
}
else -> Unit
}
}
}
override fun onDestroy() {
_bn = null
super.onDestroy()
}
}
\ No newline at end of file
package com.mobiuz.app.dev.utils
import android.annotation.TargetApi
import android.content.Context
import android.os.Build
import com.mobiuz.app.dev.model.SharedPref
import java.util.*
object LocaleHelper {
fun setLocale(context: Context):Context {
return language(context, SharedPref(context).language)
}
private fun language(context: Context, language: String):Context{
val locale = Locale(language)
Locale.setDefault(locale)
val resources = context.resources
val configuration = resources.configuration
configuration.locale = locale
resources.updateConfiguration(configuration, resources.displayMetrics)
configuration.setLayoutDirection(locale)
return context
}
private fun setAppLocale(
context: Context,
locale: String
): Context {
val res = context.resources
val dm = res.displayMetrics
val conf = res.configuration
conf.setLocale(Locale(locale.toLowerCase(Locale.getDefault())))
res.updateConfiguration(conf, dm)
return context
}
@TargetApi(Build.VERSION_CODES.N)
private fun updateResources(
context: Context,
language: String
): Context? {
val res = context.resources
val dm = res.displayMetrics
val conf = res.configuration
conf.setLocale(Locale(language.toLowerCase(Locale.getDefault())))
res.updateConfiguration(conf, dm)
return context
}
private fun updateResourcesLegacy(
context: Context,
language: String
): Context? {
val locale = Locale(language)
Locale.setDefault(locale)
val resources = context.resources
val configuration = resources.configuration
configuration.locale = locale
configuration.setLayoutDirection(locale)
resources.updateConfiguration(configuration, resources.displayMetrics)
return context
}
}
\ No newline at end of file
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24"
android:tint="@color/primary100">
<path
android:fillColor="@android:color/white"
android:pathData="M8.59,16.59L13.17,12 8.59,7.41 10,6l6,6 -6,6 -1.41,-1.41z"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="16dp"
android:viewportWidth="20"
android:viewportHeight="16">
<path
android:pathData="M3.6004,0C2.7517,0 1.9378,0.3371 1.3376,0.9373C0.7375,1.5374 0.4004,2.3513 0.4004,3.2V3.5216L10.0004,8.6912L19.6004,3.5232V3.2C19.6004,2.3513 19.2632,1.5374 18.6631,0.9373C18.063,0.3371 17.2491,0 16.4004,0H3.6004Z"
android:fillColor="#E62229"/>
<path
android:pathData="M19.6004,5.3394L10.3796,10.3042C10.263,10.3669 10.1328,10.3997 10.0004,10.3997C9.868,10.3997 9.7377,10.3669 9.6212,10.3042L0.4004,5.3394V12.8002C0.4004,13.6488 0.7375,14.4628 1.3376,15.0629C1.9378,15.663 2.7517,16.0002 3.6004,16.0002H16.4004C17.2491,16.0002 18.063,15.663 18.6631,15.0629C19.2632,14.4628 19.6004,13.6488 19.6004,12.8002V5.3394Z"
android:fillColor="#E62229"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M4.3198,1.4594V2.3523L3.6612,2.3531C3.2564,2.3536 2.8822,2.3792 2.6901,2.4195C1.6852,2.6305 0.8475,3.4682 0.6365,4.4731C0.5378,4.943 0.5378,20.8356 0.6365,21.3055C0.8475,22.3104 1.6852,23.1481 2.6901,23.3591C3.1605,23.4579 20.838,23.4579 21.3084,23.3591C22.3133,23.1481 23.151,22.3104 23.362,21.3055C23.4607,20.8356 23.4607,4.943 23.362,4.4731C23.151,3.4682 22.3133,2.6305 21.3084,2.4195C21.1163,2.3792 20.7421,2.3536 20.3373,2.3531L19.6787,2.3523V1.4594V0.5664H18.7858H17.8928V1.4594V2.3523H11.9993H6.1057V1.4594V0.5664H5.2127H4.3198V1.4594ZM4.3198,5.0312V5.9242H5.2127H6.1057V5.0312V4.1383H11.9993H17.8928V5.0312V5.9242H18.7858H19.6787V5.0272V4.1303L20.363,4.1454C21.0064,4.1597 21.0572,4.1673 21.2121,4.2722C21.3027,4.3336 21.4318,4.4624 21.4989,4.5585L21.6209,4.7332L21.6347,5.9538L21.6485,7.1743H12.0019H2.3552L2.3555,6.047C2.3556,5.4225 2.376,4.8469 2.4011,4.7565C2.4563,4.5577 2.7616,4.2421 2.9522,4.1868C3.0291,4.1646 3.3682,4.1445 3.7059,4.1423L4.3198,4.1383V5.0312ZM21.6327,15.0028L21.6209,21.0452L21.4989,21.22C21.4318,21.3162 21.3026,21.445 21.2119,21.5064L21.0471,21.618H11.9993H2.9514L2.7866,21.5064C2.6959,21.445 2.5668,21.3162 2.4996,21.22L2.3776,21.0452L2.3658,15.0028L2.354,8.9603H11.9993H21.6445L21.6327,15.0028ZM13.5843,14.0957C12.0127,15.8618 10.7143,17.3024 10.6991,17.297C10.6838,17.2916 9.9544,16.5987 9.078,15.7573L7.4847,14.2274L6.8956,14.8363C6.5717,15.1712 6.3008,15.4693 6.2938,15.4986C6.2798,15.5565 10.7179,19.8265 10.8068,19.8408C10.8475,19.8473 14.8146,15.432 17.5907,12.2903L17.802,12.0511L17.1525,11.4768C16.7952,11.1609 16.4892,10.8984 16.4723,10.8935C16.4555,10.8886 15.1559,12.3296 13.5843,14.0957Z"
android:fillColor="#B6B6B6"
android:fillType="evenOdd"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:pathData="M11.2279,0.0236C6.0914,0.3491 1.7254,3.9192 0.3981,8.8792C-0.0876,10.6941 -0.1306,12.7494 0.2786,14.5865C0.9622,17.6553 2.8281,20.3432 5.4891,22.0923C6.876,23.0038 8.7065,23.6831 10.4544,23.9347C11.1365,24.0329 12.9654,24.0175 13.6732,23.9077C15.2005,23.6706 16.5483,23.2136 17.8124,22.5041C18.3889,22.1805 18.5238,22.0259 18.5498,21.6588C18.5827,21.195 18.2464,20.8309 17.785,20.8309C17.6251,20.8309 17.3945,20.9244 16.7611,21.2463C14.1796,22.5583 11.4282,22.7824 8.735,21.8999C5.045,20.6909 2.3973,17.5874 1.7134,13.6695C1.5912,12.9696 1.5908,11.1305 1.7126,10.4262C1.9816,8.8721 2.5065,7.5507 3.3677,6.2593C4.9448,3.8945 7.347,2.3393 10.2457,1.8064C11.0499,1.6585 12.8727,1.6469 13.6233,1.785C15.2158,2.0779 16.5157,2.5989 17.7961,3.4573C20.3098,5.1426 21.9624,7.8979 22.3053,10.9751C22.4545,12.3131 22.2709,13.9965 21.8352,15.285C21.5513,16.1246 21.3248,16.4197 20.7616,16.6839C20.5295,16.7927 20.4164,16.8133 20.0607,16.8114C19.7043,16.8094 19.5917,16.7874 19.3558,16.6734C19.0255,16.5139 18.6556,16.1381 18.4997,15.8036L18.389,15.5661L18.364,10.8665C18.3393,6.2172 18.338,6.1653 18.2362,6.0289C18.0407,5.7671 17.8812,5.6854 17.5656,5.6854C17.2501,5.6854 17.0907,5.767 16.895,6.0288C16.8026,6.1524 16.7905,6.2503 16.7762,6.9897L16.7603,7.813L16.377,7.4468C15.4893,6.5987 14.4975,6.0735 13.2739,5.8034C12.5921,5.653 11.4281,5.6408 10.7788,5.7774C8.7856,6.1967 7.1902,7.393 6.3013,9.1349C5.7748,10.1666 5.613,10.8663 5.6161,12.0979C5.618,12.8752 5.633,13.0303 5.7527,13.5088C6.0645,14.7567 6.626,15.7466 7.5198,16.6242C8.3894,17.478 9.4739,18.0509 10.7289,18.3197C11.321,18.4465 12.6302,18.4446 13.224,18.3161C14.4842,18.0434 15.501,17.4981 16.4307,16.5964C16.6985,16.3367 16.9243,16.1333 16.9324,16.1446C16.9405,16.1558 16.9899,16.266 17.0422,16.3895C17.346,17.1074 17.9419,17.7425 18.6269,18.0785C19.5832,18.5476 20.5843,18.5472 21.5578,18.0774C21.8957,17.9144 22.0641,17.7904 22.3856,17.468C22.8588,16.9935 23.0773,16.6245 23.32,15.8905C23.7918,14.4632 23.9912,13.0804 23.9354,11.6238C23.8179,8.5623 22.6756,5.8471 20.594,3.6818C18.1546,1.1444 14.7187,-0.1976 11.2279,0.0236ZM13.149,7.4076C14.0608,7.6523 14.6732,8.0074 15.3449,8.6809C16.0249,9.3627 16.3747,9.9698 16.6248,10.9026C16.7718,11.4509 16.7859,12.5805 16.6523,13.1136C16.4195,14.0425 16.0274,14.7326 15.3443,15.4158C14.4538,16.3062 13.4817,16.7476 12.2509,16.8204C10.8121,16.9054 9.4545,16.3522 8.4476,15.2704C7.9203,14.704 7.5508,14.0192 7.3268,13.1934C7.1804,12.6533 7.1678,11.5266 7.3021,10.9819C7.5218,10.0914 7.9379,9.3485 8.5813,8.698C9.3365,7.9345 10.23,7.4704 11.2548,7.3095C11.7302,7.2348 12.6907,7.2845 13.149,7.4076Z"
android:fillColor="#B6B6B6"
android:fillType="evenOdd"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="19dp"
android:height="26dp"
android:viewportWidth="19"
android:viewportHeight="26">
<path
android:pathData="M1.959,0.0822C1.0471,0.3285 0.3318,1.0569 0.0912,1.9844C-0.0304,2.4532 -0.0304,23.5432 0.0912,24.0121C0.3349,24.9515 1.0517,25.6735 1.9822,25.9169C2.2593,25.9894 3.209,25.9999 9.5063,25.9999C17.4359,25.9999 17.0047,26.0175 17.6601,25.6667C18.0381,25.4644 18.5067,24.9848 18.6994,24.6029C19.0168,23.9739 19.0023,24.3952 18.9989,15.9528C18.9954,7.3174 19.0174,7.8338 18.626,7.1854C18.4984,6.974 17.4438,5.8814 15.2014,3.6373C12.2292,0.6629 11.9338,0.3827 11.6303,0.2496C11.4483,0.1698 11.1718,0.0802 11.0159,0.0506C10.8417,0.0174 9.0982,-0.002 6.4912,0.0002C2.9654,0.0032 2.2007,0.017 1.959,0.0822ZM10.8978,1.8347C11.1638,1.9736 17.1324,7.9921 17.2142,8.2039C17.2611,8.3253 17.2734,10.3066 17.2628,16.0415C17.2486,23.6978 17.2483,23.717 17.1373,23.8662C17.0761,23.9485 16.959,24.0661 16.8771,24.1275C16.7283,24.2391 16.7161,24.2392 9.5063,24.2392C2.2966,24.2392 2.2844,24.2391 2.1356,24.1275C2.0537,24.0661 1.9366,23.9485 1.8754,23.8662L1.7642,23.7166L1.7488,13.1432C1.7403,7.3279 1.7473,2.4913 1.7644,2.3953C1.8031,2.1782 2.0299,1.9013 2.247,1.8064C2.379,1.7486 3.2321,1.734 6.5546,1.7323C10.5443,1.7302 10.705,1.734 10.8978,1.8347ZM5.6487,12.181C5.1621,12.3018 4.7181,12.666 4.4875,13.1337L4.3539,13.4045V17.3321V21.2597L4.4757,21.5051C4.6672,21.8911 4.8849,22.1192 5.2535,22.3199L5.5948,22.5057H9.5063H13.4179L13.7579,22.3206C14.1355,22.115 14.2981,21.9463 14.5134,21.5363L14.6588,21.2597V17.3321V13.4045L14.4738,13.0619C14.2739,12.6918 14.0468,12.4731 13.6624,12.2808L13.4179,12.1585L9.6143,12.1497C7.5223,12.1448 5.7378,12.1589 5.6487,12.181ZM8.6431,17.3321V20.7992H7.3482H6.0534V17.3321V13.865H7.3482H8.6431V17.3321ZM12.9593,15.1652V16.4653H11.6644H10.3696V15.1652V13.865H11.6644H12.9593V15.1652ZM12.9593,19.499V20.7992H11.6644H10.3696V19.499V18.1989H11.6644H12.9593V19.499Z"
android:fillColor="#B6B6B6"
android:fillType="evenOdd"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="18dp"
android:height="12dp"
android:viewportWidth="18"
android:viewportHeight="12">
<path
android:pathData="M12,12H0V10H12V12ZM18,7H0V5H18V7ZM18,2H0V0H18V2Z"
android:fillColor="#E62229"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="120dp"
android:height="24dp"
android:viewportWidth="120"
android:viewportHeight="24">
<path
android:pathData="M0,7.181H4.847L5.021,8.984C5.536,8.36 6.193,7.84 6.989,7.423C7.785,7.008 8.72,6.8 9.799,6.8C10.454,6.8 11.039,6.868 11.554,7.008C12.068,7.146 12.52,7.326 12.906,7.544C13.293,7.765 13.632,8.008 13.925,8.273C14.217,8.54 14.457,8.799 14.644,9.054C15.324,8.336 16.148,7.782 17.12,7.389C18.092,6.996 19.105,6.8 20.158,6.8C22.266,6.8 23.875,7.389 24.987,8.568C26.099,9.748 26.655,11.355 26.655,13.388V23.445H21.599V14.186C21.599,13.215 21.381,12.464 20.949,11.932C20.515,11.4 19.864,11.135 19,11.135C18.016,11.135 17.232,11.47 16.646,12.139C16.062,12.811 15.769,13.666 15.769,14.706V23.445H10.887V14.186C10.887,13.215 10.67,12.464 10.237,11.932C9.804,11.4 9.155,11.135 8.288,11.135C7.327,11.135 6.55,11.47 5.952,12.139C5.355,12.811 5.057,13.666 5.057,14.706V23.445H0V7.181Z"
android:fillColor="#E62229"/>
<path
android:pathData="M39.86,19.665C40.492,19.665 41.055,19.544 41.545,19.301C42.038,19.058 42.452,18.728 42.793,18.313C43.131,17.896 43.383,17.429 43.547,16.909C43.711,16.388 43.794,15.851 43.794,15.295C43.794,14.741 43.711,14.203 43.547,13.683C43.383,13.163 43.131,12.701 42.793,12.296C42.452,11.892 42.038,11.568 41.545,11.326C41.055,11.082 40.492,10.962 39.86,10.962C39.228,10.962 38.66,11.082 38.157,11.326C37.654,11.568 37.237,11.892 36.91,12.296C36.582,12.701 36.331,13.163 36.155,13.683C35.979,14.203 35.892,14.741 35.892,15.295C35.892,15.851 35.979,16.388 36.155,16.909C36.331,17.429 36.582,17.896 36.91,18.313C37.237,18.728 37.654,19.058 38.157,19.301C38.66,19.544 39.228,19.665 39.86,19.665ZM31.01,15.295C31.01,14.094 31.226,12.966 31.66,11.914C32.092,10.863 32.696,9.944 33.468,9.157C34.241,8.372 35.171,7.752 36.261,7.302C37.349,6.851 38.549,6.626 39.86,6.626C41.171,6.626 42.364,6.851 43.443,7.302C44.519,7.752 45.445,8.372 46.217,9.157C46.99,9.944 47.592,10.863 48.025,11.914C48.458,12.966 48.675,14.094 48.675,15.295C48.675,16.498 48.458,17.626 48.025,18.677C47.592,19.729 46.99,20.649 46.217,21.433C45.445,22.221 44.519,22.844 43.443,23.306C42.364,23.769 41.171,24 39.86,24C38.549,24 37.349,23.769 36.261,23.306C35.171,22.844 34.241,22.221 33.468,21.433C32.696,20.649 32.092,19.729 31.66,18.677C31.226,17.626 31.01,16.498 31.01,15.295Z"
android:fillColor="#E62229"/>
<path
android:pathData="M58.191,19.176C58.472,19.293 58.782,19.38 59.122,19.437C59.461,19.494 59.935,19.523 60.545,19.523C61.879,19.523 62.915,19.096 63.653,18.241C64.39,17.385 64.758,16.264 64.758,14.877C64.758,14.369 64.694,13.871 64.566,13.386C64.437,12.9 64.243,12.466 63.986,12.086C63.729,11.704 63.395,11.392 62.986,11.149C62.575,10.906 62.078,10.785 61.493,10.785C60.369,10.785 59.538,11.091 58.999,11.704C58.46,12.316 58.191,13.132 58.191,14.148V19.176ZM53.135,0H58.191V8.079C58.661,7.594 59.298,7.212 60.106,6.936C60.914,6.658 61.716,6.519 62.511,6.519C63.682,6.519 64.723,6.738 65.636,7.178C66.551,7.618 67.316,8.213 67.937,8.964C68.557,9.716 69.031,10.583 69.359,11.565C69.687,12.548 69.851,13.594 69.851,14.704C69.851,16.021 69.635,17.234 69.201,18.345C68.768,19.454 68.142,20.402 67.324,21.188C66.503,21.975 65.496,22.588 64.302,23.026C63.109,23.465 61.75,23.684 60.229,23.684C58.824,23.684 57.496,23.557 56.242,23.304C54.99,23.049 53.954,22.783 53.135,22.506V0Z"
android:fillColor="#E62229"/>
<path
android:pathData="M74.451,7.181H79.509V23.445H74.451V7.181Z"
android:fillColor="#E62229"/>
<path
android:pathData="M84.74,7.182H89.798V16.544C89.798,17.469 90.026,18.198 90.482,18.728C90.939,19.261 91.612,19.527 92.502,19.527C93.017,19.527 93.473,19.429 93.872,19.232C94.269,19.036 94.609,18.776 94.89,18.452C95.171,18.128 95.382,17.747 95.522,17.307C95.662,16.869 95.732,16.418 95.732,15.955V7.182H100.754V23.445H95.909L95.768,21.712C95.229,22.335 94.521,22.851 93.643,23.255C92.765,23.658 91.846,23.862 90.886,23.862C88.991,23.862 87.491,23.307 86.391,22.197C85.29,21.088 84.74,19.446 84.74,17.273V7.182Z"
android:fillColor="#E62229"/>
<path
android:pathData="M105.496,20.081L113.573,11.204H105.848V7.181H119.964V10.614L111.853,19.526H120V23.446H105.496V20.081Z"
android:fillColor="#E62229"/>
<path
android:pathData="M76.887,4.588L74.184,0H79.591L76.887,4.588Z"
android:fillColor="#E62229"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="17dp"
android:height="4dp"
android:viewportWidth="17"
android:viewportHeight="4">
<path
android:pathData="M2.5,0L14.5,0A2,2 0,0 1,16.5 2L16.5,2A2,2 0,0 1,14.5 4L2.5,4A2,2 0,0 1,0.5 2L0.5,2A2,2 0,0 1,2.5 0z"
android:fillColor="#F1F1F1"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="12dp"
android:viewportWidth="16"
android:viewportHeight="12">
<path
android:pathData="M5.5242,11.657L0.5742,6.707L1.9882,5.293L5.5252,8.827L5.5242,8.828L14.0092,0.343L15.4232,1.757L6.9382,10.243L5.5252,11.656L5.5242,11.657Z"
android:fillColor="#E62229"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="20dp"
android:viewportWidth="20"
android:viewportHeight="20">
<path
android:pathData="M2.3568,0.6386C2.5756,0.4202 2.8382,0.2508 3.1273,0.1416C3.4165,0.0323 3.7255,-0.0142 4.034,0.0051C4.3425,0.0244 4.6434,0.109 4.9167,0.2533C5.19,0.3976 5.4295,0.5984 5.6193,0.8423L7.8631,3.7248C8.2743,4.2536 8.4193,4.9423 8.2568,5.5923L7.5731,8.3298C7.5377,8.4716 7.5396,8.6201 7.5786,8.761C7.6176,8.9018 7.6924,9.0301 7.7956,9.1336L10.8668,12.2048C10.9704,12.3083 11.099,12.3831 11.24,12.4221C11.3811,12.4611 11.5299,12.4629 11.6718,12.4273L14.4081,11.7436C14.7289,11.6634 15.0637,11.6571 15.3872,11.7254C15.7107,11.7936 16.0145,11.9344 16.2756,12.1373L19.1581,14.3798C20.1943,15.1861 20.2893,16.7173 19.3618,17.6436L18.0693,18.9361C17.1443,19.8611 15.7618,20.2673 14.4731,19.8136C11.1746,18.653 8.1797,16.7646 5.7106,14.2886C3.2347,11.8198 1.3463,8.8254 0.1856,5.5273C-0.2669,4.2398 0.1393,2.8561 1.0643,1.9311L2.3568,0.6386Z"
android:fillColor="#E62229"
android:fillType="evenOdd"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp"
android:height="21dp"
android:viewportWidth="16"
android:viewportHeight="21">
<path
android:pathData="M8.0001,6.1539V0.3809H2.2271C1.7167,0.3809 1.2272,0.5836 0.8664,0.9445C0.5055,1.3054 0.3027,1.7948 0.3027,2.3052V18.9828C0.3027,19.4932 0.5055,19.9826 0.8664,20.3435C1.2272,20.7044 1.7167,20.9071 2.2271,20.9071H13.7731C14.2835,20.9071 14.7729,20.7044 15.1338,20.3435C15.4947,19.9826 15.6974,19.4932 15.6974,18.9828V8.0782H9.9244C9.4141,8.0782 8.9246,7.8755 8.5637,7.5146C8.2028,7.1537 8.0001,6.6642 8.0001,6.1539ZM2.8685,11.2854C2.8685,11.1153 2.9361,10.9522 3.0564,10.8319C3.1767,10.7116 3.3398,10.644 3.51,10.644C3.6801,10.644 3.8432,10.7116 3.9635,10.8319C4.0838,10.9522 4.1514,11.1153 4.1514,11.2854C4.1514,11.4556 4.0838,11.6187 3.9635,11.739C3.8432,11.8593 3.6801,11.9269 3.51,11.9269C3.3398,11.9269 3.1767,11.8593 3.0564,11.739C2.9361,11.6187 2.8685,11.4556 2.8685,11.2854ZM2.8685,13.8512C2.8685,13.6811 2.9361,13.5179 3.0564,13.3976C3.1767,13.2774 3.3398,13.2098 3.51,13.2098C3.6801,13.2098 3.8432,13.2774 3.9635,13.3976C4.0838,13.5179 4.1514,13.6811 4.1514,13.8512C4.1514,14.0213 4.0838,14.1845 3.9635,14.3048C3.8432,14.4251 3.6801,14.4927 3.51,14.4927C3.3398,14.4927 3.1767,14.4251 3.0564,14.3048C2.9361,14.1845 2.8685,14.0213 2.8685,13.8512ZM2.8685,16.417C2.8685,16.2469 2.9361,16.0837 3.0564,15.9634C3.1767,15.8431 3.3398,15.7756 3.51,15.7756C3.6801,15.7756 3.8432,15.8431 3.9635,15.9634C4.0838,16.0837 4.1514,16.2469 4.1514,16.417C4.1514,16.5871 4.0838,16.7503 3.9635,16.8706C3.8432,16.9909 3.6801,17.0584 3.51,17.0584C3.3398,17.0584 3.1767,16.9909 3.0564,16.8706C2.9361,16.7503 2.8685,16.5871 2.8685,16.417ZM5.4343,11.2854C5.4343,11.1153 5.5019,10.9522 5.6222,10.8319C5.7425,10.7116 5.9056,10.644 6.0757,10.644H12.4902C12.6603,10.644 12.8235,10.7116 12.9438,10.8319C13.0641,10.9522 13.1317,11.1153 13.1317,11.2854C13.1317,11.4556 13.0641,11.6187 12.9438,11.739C12.8235,11.8593 12.6603,11.9269 12.4902,11.9269H6.0757C5.9056,11.9269 5.7425,11.8593 5.6222,11.739C5.5019,11.6187 5.4343,11.4556 5.4343,11.2854ZM5.4343,13.8512C5.4343,13.6811 5.5019,13.5179 5.6222,13.3976C5.7425,13.2774 5.9056,13.2098 6.0757,13.2098H12.4902C12.6603,13.2098 12.8235,13.2774 12.9438,13.3976C13.0641,13.5179 13.1317,13.6811 13.1317,13.8512C13.1317,14.0213 13.0641,14.1845 12.9438,14.3048C12.8235,14.4251 12.6603,14.4927 12.4902,14.4927H6.0757C5.9056,14.4927 5.7425,14.4251 5.6222,14.3048C5.5019,14.1845 5.4343,14.0213 5.4343,13.8512ZM5.4343,16.417C5.4343,16.2469 5.5019,16.0837 5.6222,15.9634C5.7425,15.8431 5.9056,15.7756 6.0757,15.7756H12.4902C12.6603,15.7756 12.8235,15.8431 12.9438,15.9634C13.0641,16.0837 13.1317,16.2469 13.1317,16.417C13.1317,16.5871 13.0641,16.7503 12.9438,16.8706C12.8235,16.9909 12.6603,17.0584 12.4902,17.0584H6.0757C5.9056,17.0584 5.7425,16.9909 5.6222,16.8706C5.5019,16.7503 5.4343,16.5871 5.4343,16.417ZM9.283,6.1539V0.7016L15.3767,6.7953H9.9244C9.7543,6.7953 9.5911,6.7277 9.4708,6.6074C9.3506,6.4872 9.283,6.324 9.283,6.1539Z"
android:fillColor="#C6BFBA"/>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="20dp"
android:height="16dp"
android:viewportWidth="20"
android:viewportHeight="16">
<path
android:pathData="M18.65,0.1052L0.9339,6.6219C-0.2752,7.0851 -0.2682,7.7285 0.7121,8.0154L5.2605,9.3689L15.7843,3.0352C16.2819,2.7464 16.7365,2.9018 16.3628,3.2182L7.8365,10.5584H7.8345L7.8365,10.5594L7.5227,15.0315C7.9824,15.0315 8.1852,14.8304 8.443,14.5931L10.6523,12.5438L15.2477,15.7817C16.095,16.2268 16.7036,15.998 16.9144,15.0334L19.931,1.472C20.2398,0.2911 19.4584,-0.2436 18.65,0.1052Z"
android:fillColor="#E62229"/>
</vector>
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<corners android:topLeftRadius="6dp"
android:topRightRadius="6dp"/>
<solid android:color="@color/white"/>
</shape>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true">
<androidx.fragment.app.FragmentContainerView
android:id="@+id/settings_container"
android:name="androidx.navigation.fragment.NavHostFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:defaultNavHost="true"
app:navGraph="@navigation/nav_graph_settings"
tools:context=".dev.ui.auth.AuthActivity"/>
</LinearLayout>
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout 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:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:layout_constraintTop_toTopOf="parent"
app:navigationIcon="@drawable/ic_baseline_arrow_back"
/>
<TextView
style="@style/TitleTextStyle"
android:id="@+id/txt_password"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginTop="@dimen/_14sdp"
android:text="@string/enter_confirm_new_password"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintBottom_toTopOf="@id/txt_hint_confirm"
app:layout_constraintTop_toBottomOf="@id/toolbar" />
<TextView
android:id="@+id/txt_hint_confirm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:text="@string/enter_password"
android:textSize="15sp"
android:textColor="@color/black75"
app:layout_constraintStart_toStartOf="@id/layout_input_password"
app:layout_constraintTop_toBottomOf="@id/txt_password" />
<com.google.android.material.textfield.TextInputLayout
android:id="@+id/layout_input_password"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginStart="@dimen/_12sdp"
android:layout_marginEnd="@dimen/_12sdp"
app:endIconMode="password_toggle"
app:layout_constraintTop_toBottomOf="@id/txt_hint_confirm">
<com.google.android.material.textfield.TextInputEditText
android:id="@+id/input_password"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/edit_text_unchecked"
android:imeOptions="actionDone"
android:inputType="numberPassword"
android:maxLength="7"
android:textSize="@dimen/_12sdp"
android:paddingVertical="@dimen/_12sdp"
android:paddingStart="@dimen/_12sdp"
tools:ignore="RtlSymmetry" />
</com.google.android.material.textfield.TextInputLayout>
<ImageView
android:id="@+id/image_check"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="6dp"
android:src="@drawable/ic_vector_error"
android:visibility="gone"
android:layout_marginTop="@dimen/_6sdp"
app:layout_constraintEnd_toStartOf="@id/txt_check_confirm"
app:layout_constraintStart_toStartOf="@id/layout_input_password"
app:layout_constraintTop_toBottomOf="@id/layout_input_password" />
<TextView
android:id="@+id/txt_check_confirm"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/_6sdp"
android:text="@string/must_same"
android:textColor="@color/grey110"
android:visibility="gone"
android:textSize="13sp"
app:layout_constraintStart_toEndOf="@id/image_check"
app:layout_constraintTop_toBottomOf="@id/layout_input_password" />
<TextView
android:id="@+id/txt_forget_password"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="@dimen/_6sdp"
android:textSize="16sp"
android:text="@string/forget_password"
android:background="?android:selectableItemBackground"
android:textColor="@color/grey110"
android:textStyle="bold"
android:layout_marginTop="@dimen/_16sdp"
android:layout_marginEnd="@dimen/_10sdp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@id/layout_input_password" />
<Button
android:id="@+id/btn_login"
android:layout_width="match_parent"
android:enabled="false"
android:textSize="@dimen/_12sdp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginHorizontal="@dimen/_12sdp"
android:layout_marginTop="@dimen/_34sdp"
android:text="@string/enter"
app:layout_constraintTop_toBottomOf="@id/layout_input_password"
app:layout_constraintBottom_toBottomOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
xmlns:app="http://schemas.android.com/apk/res-auto"
>
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
app:title="@string/language_app"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_baseline_arrow_back"
/>
<LinearLayout
android:id="@+id/uzbek_lang"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="27dp"
android:paddingHorizontal="@dimen/_16sdp"
android:background="?android:selectableItemBackground"
android:paddingVertical="@dimen/_12sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_uzbekistan" />
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_12sdp"
android:text="@string/uzbek"
android:textStyle="bold"
android:textColor="@color/black100"
android:textSize="16sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_gravity="center"
android:visibility="invisible"
android:id="@+id/image_uzbek"
android:layout_height="wrap_content"
android:src="@drawable/ic_vector_checked" />
</LinearLayout>
<LinearLayout
android:id="@+id/russian_lang"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/_16sdp"
android:layout_marginVertical="@dimen/_12sdp"
android:background="?android:selectableItemBackground"
android:paddingVertical="@dimen/_12sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_russia" />
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_12sdp"
android:text="@string/russian"
android:textStyle="bold"
android:textColor="@color/black100"
android:textSize="16sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_gravity="center"
android:visibility="invisible"
android:id="@+id/image_russian"
android:layout_height="wrap_content"
android:src="@drawable/ic_vector_checked" />
</LinearLayout>
<LinearLayout
android:id="@+id/english_lang"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingHorizontal="@dimen/_16sdp"
android:background="?android:selectableItemBackground"
android:paddingVertical="@dimen/_12sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/ic_united_kingdom" />
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:layout_marginStart="@dimen/_12sdp"
android:text="@string/english"
android:textStyle="bold"
android:textColor="@color/black100"
android:textSize="16sp" />
<ImageView
android:layout_width="wrap_content"
android:layout_gravity="center"
android:layout_height="wrap_content"
android:visibility="invisible"
android:id="@+id/image_english"
android:src="@drawable/ic_vector_checked" />
</LinearLayout>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<com.google.android.material.appbar.MaterialToolbar
android:id="@+id/toolbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:navigationIcon="@drawable/ic_baseline_arrow_back"
app:title="@string/profile" />
<androidx.core.widget.NestedScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:layout_width="84dp"
android:layout_height="84dp"
android:layout_gravity="center"
android:layout_marginTop="20dp"
android:src="@drawable/ic_user" />
<TextView
android:id="@+id/txt_user_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="12dp"
android:text="Юлия Шевченко "
android:textSize="29sp"
android:textStyle="bold" />
<TextView
android:id="@+id/txt_profile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="8dp"
android:text="@string/my_number"
android:textColor="@color/grey70"
android:textSize="16sp" />
<com.google.android.material.button.MaterialButton
android:id="@+id/txt_user_phone"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginTop="12dp"
android:paddingHorizontal="@dimen/_16sdp"
android:paddingVertical="12dp"
android:text="+998 97 999-99-99"
android:textSize="14sp"
app:backgroundTint="@color/primary100" />
<View
android:layout_width="match_parent"
android:layout_marginTop="30dp"
android:background="@color/grey20"
android:layout_height="1dp"/>
<LinearLayout
android:id="@+id/btn_0890"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="30dp"
android:background="?android:selectableItemBackground"
android:paddingHorizontal="@dimen/_16sdp"
android:paddingVertical="@dimen/_10sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/ic_image_birthday" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Дата рождения "
android:textColor="@color/grey110"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="31.12.1999"
android:textColor="@color/black100"
android:textSize="15sp"
android:textStyle="bold" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/btn_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="?android:selectableItemBackground"
android:paddingHorizontal="@dimen/_16sdp"
android:paddingVertical="@dimen/_10sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/ic_image_email" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Email"
android:textColor="@color/grey110"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="user@gmail.com"
android:textColor="@color/grey110"
android:textSize="15sp" />
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/btn_sim"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="10dp"
android:background="?android:selectableItemBackground"
android:paddingHorizontal="@dimen/_16sdp"
android:paddingVertical="@dimen/_10sdp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/ic_image_sim" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="24dp"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Наименование СИМ-карты"
android:textColor="@color/grey110"
android:textSize="14sp" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Наименование симкарты"
android:textStyle="bold"
android:textColor="@color/black100"
android:textSize="15sp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>
</LinearLayout>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:layout_width="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:fitsSystemWindows="true"
android:layout_height="wrap_content"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android">
<com.google.android.material.card.MaterialCardView
android:layout_width="match_parent"
app:cardCornerRadius="12dp"
app:cardUseCompatPadding="true"
android:layout_height="100dp">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<LinearLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
style="@style/ServicesTextStyle"
android:text="Mobi 20" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="20 000/1 000 so‘m"
android:textStyle="bold"
android:textColor="@color/primary100"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="*100#"
android:textStyle="bold"
android:textColor="@color/grey80"
/>
</LinearLayout>
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@drawable/ic_baseline_keyboard_arrow_right" />
</LinearLayout>
</com.google.android.material.card.MaterialCardView>
<View
android:layout_width="match_parent"
android:layout_height="1dp"/>
</LinearLayout>
\ No newline at end of file
......@@ -7,8 +7,8 @@
<fragment
android:id="@+id/motionFragment"
tools:layout="@layout/home_motion"
android:name="com.mobiuz.app.dev.MotionFragment"
tools:layout="@layout/fragment_service"
android:name="com.mobiuz.app.dev.ui.service.ServiceFragment"
android:label="MotionFragment" />
</navigation>
\ No newline at end of file
<?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/nav_graph_settings"
app:startDestination="@id/languageFragment">
<fragment
android:id="@+id/languageFragment"
android:name="com.mobiuz.app.dev.ui.settings.LanguageFragment"
android:label="fragment_language"
tools:layout="@layout/fragment_language" />
<fragment
android:id="@+id/supportFragment"
tools:layout="@layout/fragment_support"
android:name="com.mobiuz.app.dev.ui.settings.SupportFragment"
android:label="SupportFragment" />
<fragment
android:id="@+id/safetyFragment"
android:name="com.mobiuz.app.dev.ui.settings.safety.SafetyFragment"
android:label="fragment_safety"
tools:layout="@layout/fragment_safety" />
<fragment
android:id="@+id/profileFragment"
android:name="com.mobiuz.app.dev.ui.settings.ProfileFragment"
android:label="fragment_profile"
tools:layout="@layout/fragment_profile" />
<fragment
android:id="@+id/currentPasswordFragment"
android:name="com.mobiuz.app.dev.ui.settings.safety.password.CurrentPasswordFragment"
android:label="CurrentPasswordFragment" />
<fragment
android:id="@+id/newPasswordFragment"
android:name="com.mobiuz.app.dev.ui.settings.safety.password.NewPasswordFragment"
android:label="NewPasswordFragment" />
<fragment
android:id="@+id/confirmPasswordFragment"
android:name="com.mobiuz.app.dev.ui.settings.safety.password.ConfirmPasswordFragment"
android:label="ConfirmPasswordFragment" />
</navigation>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment