adding an animation to the recordings list

This commit is contained in:
tibbi 2021-03-05 18:02:47 +01:00
parent 76ee152997
commit 91f2e61f13
2 changed files with 2 additions and 0 deletions

View File

@ -152,6 +152,7 @@ class PlayerFragment(context: Context, attributeSet: AttributeSet) : MyViewPager
}.apply {
recordings_list.adapter = this
}
recordings_list.scheduleLayoutAnimation()
} else {
adapter.updateItems(recordings)
}

View File

@ -24,6 +24,7 @@
android:layout_width="match_parent"
android:layout_height="0dp"
android:clipToPadding="false"
android:layoutAnimation="@anim/layout_animation"
android:scrollbars="none"
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager"
app:layout_constraintBottom_toTopOf="@+id/player_controls_wrapper"