Remove: Collapsing toolbar layout

This commit is contained in:
machiav3lli
2022-04-02 03:05:48 +02:00
parent c1a4feb927
commit 68a13c39ee
4 changed files with 46 additions and 70 deletions

View File

@ -106,7 +106,6 @@ class MainActivityX : AppCompatActivity() {
toolbar.menu.setGroupDividerEnabled(true)
}
toolbar.isFocusableInTouchMode = true
toolbar.title = getString(R.string.application_name)
supportFragmentManager.addFragmentOnAttachListener { _, _ ->
hideKeyboard()

View File

@ -78,7 +78,6 @@ class PrefsActivityX : AppCompatActivity() {
super.onStart()
setSupportActionBar(toolbar)
toolbar.isFocusableInTouchMode = true
binding.collapsingToolbar.title = getString(R.string.settings)
val navHostFragment =
supportFragmentManager.findFragmentById(R.id.fragment_content) as NavHostFragment