Replace z-axis fragment transition to fade

This commit is contained in:
Zakhar Timoshenko
2022-07-25 19:01:08 +03:00
parent 0757a31381
commit 464e47d6ad
4 changed files with 4 additions and 4 deletions

View File

@@ -312,7 +312,7 @@ class MainActivity :
private fun setPrimaryFragment(fragment: Fragment) {
supportFragmentManager.beginTransaction()
.replace(R.id.container, fragment, TAG_PRIMARY)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_OPEN)
.setTransition(FragmentTransaction.TRANSIT_FRAGMENT_FADE)
.commit()
adjustFabVisibility(topFragment = fragment)
}