Add basic animations to navigation to MediaInfoFragment
This commit is contained in:
parent
cb721ac988
commit
e254709f91
2 changed files with 10 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
|||
package dev.jdtech.jellyfin.viewmodels
|
||||
|
||||
import android.app.Application
|
||||
import android.util.Log
|
||||
import androidx.lifecycle.AndroidViewModel
|
||||
import androidx.lifecycle.LiveData
|
||||
import androidx.lifecycle.MutableLiveData
|
||||
|
|
|
@ -19,7 +19,11 @@
|
|||
app:popExitAnim="@anim/nav_default_pop_exit_anim" />
|
||||
<action
|
||||
android:id="@+id/action_navigation_home_to_mediaInfoFragment"
|
||||
app:destination="@id/mediaInfoFragment" />
|
||||
app:destination="@id/mediaInfoFragment"
|
||||
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
|
||||
|
@ -56,7 +60,11 @@
|
|||
app:nullable="true" />
|
||||
<action
|
||||
android:id="@+id/action_libraryFragment_to_mediaInfoFragment"
|
||||
app:destination="@id/mediaInfoFragment" />
|
||||
app:destination="@id/mediaInfoFragment"
|
||||
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
|
||||
android:id="@+id/mediaInfoFragment"
|
||||
|
|
Loading…
Reference in a new issue