1
0
Fork 0

For #3141 For #3142 Do not try to fade BrowserFragment in transitions (#3195)

master
Emily Kager 2019-06-05 18:37:58 -07:00 committed by Colin Lee
parent 9624964bc3
commit 33eb26861d
2 changed files with 2 additions and 4 deletions

View File

@ -58,7 +58,7 @@ class ToolbarIntegration(
toolbar.hideKeyboard()
// We need to dynamically add the options here because if you do it in XML it overwrites
val options = NavOptions.Builder().setPopUpTo(R.id.homeFragment, true)
.setEnterAnim(R.anim.fade_in).setExitAnim(R.anim.fade_out).build()
.setEnterAnim(R.anim.fade_in).build()
val extras =
FragmentNavigator.Extras.Builder()
.addSharedElement(

View File

@ -32,10 +32,8 @@
<action
android:id="@+id/action_homeFragment_to_browserFragment"
app:destination="@id/browserFragment"
app:enterAnim="@anim/fade_in"
app:exitAnim="@anim/fade_out"
app:popEnterAnim="@anim/fade_in"
app:popExitAnim="@anim/fade_out" />
app:popEnterAnim="@anim/fade_in" />
<action
android:id="@+id/action_homeFragment_to_libraryFragment"
app:destination="@id/libraryFragment" />