Add some default animations for navigating to LibraryFragment
This commit is contained in:
parent
1602250415
commit
a818aa7f18
1 changed files with 10 additions and 2 deletions
|
@ -12,7 +12,11 @@
|
||||||
tools:layout="@layout/fragment_home" >
|
tools:layout="@layout/fragment_home" >
|
||||||
<action
|
<action
|
||||||
android:id="@+id/action_navigation_home_to_libraryFragment"
|
android:id="@+id/action_navigation_home_to_libraryFragment"
|
||||||
app:destination="@id/libraryFragment" />
|
app:destination="@id/libraryFragment"
|
||||||
|
app:enterAnim="@anim/nav_default_enter_anim"
|
||||||
|
app:exitAnim="@anim/nav_default_exit_anim"
|
||||||
|
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
||||||
|
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
|
||||||
</fragment>
|
</fragment>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
|
@ -22,7 +26,11 @@
|
||||||
tools:layout="@layout/fragment_media">
|
tools:layout="@layout/fragment_media">
|
||||||
<action
|
<action
|
||||||
android:id="@+id/action_navigation_media_to_libraryFragment"
|
android:id="@+id/action_navigation_media_to_libraryFragment"
|
||||||
app:destination="@id/libraryFragment" />
|
app:destination="@id/libraryFragment"
|
||||||
|
app:enterAnim="@anim/nav_default_enter_anim"
|
||||||
|
app:exitAnim="@anim/nav_default_exit_anim"
|
||||||
|
app:popEnterAnim="@anim/nav_default_pop_enter_anim"
|
||||||
|
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
|
||||||
</fragment>
|
</fragment>
|
||||||
|
|
||||||
<fragment
|
<fragment
|
||||||
|
|
Loading…
Reference in a new issue