home side bar completed

built custom bottom nav for home

new activity for ExploreWokaActivity
research to blur the background with transparency

Made 2 theme Home fragment and MyList Fragment
Connected them with the side bar with respect to the selected theme
This commit is contained in:
2024-05-16 20:56:34 +05:30
parent d4ac42b62a
commit f940abe837
26 changed files with 1013 additions and 70 deletions

View File

@@ -10,6 +10,8 @@ import androidx.core.app.ActivityOptionsCompat
import androidx.fragment.app.Fragment
import com.woka.databinding.FragmentLanguageBinding
import com.woka.onboard.OnboardActivity
import com.woka.utils.LOCALE_ENGLISH
import com.woka.utils.LOCALE_HINDI
import com.woka.utils.ProgressView
import com.woka.utils.changeLocale
@@ -39,12 +41,12 @@ class LanguageFragment : Fragment() {
private fun clickEvents() {
binding.english.setOnClickListener {
requireActivity().changeLocale("en")
requireActivity().changeLocale(LOCALE_ENGLISH)
gotoOnboardActivity()
}
binding.hindi.setOnClickListener {
requireActivity().changeLocale("hi")
requireActivity().changeLocale(LOCALE_HINDI)
gotoOnboardActivity()
}
}