adding layout animations to some other views too
This commit is contained in:
parent
e56df23f93
commit
c3ff917e68
6 changed files with 6 additions and 0 deletions
|
@ -78,6 +78,7 @@ class AlbumsActivity : SimpleActivity() {
|
|||
albums_list.adapter = this
|
||||
}
|
||||
|
||||
albums_list.scheduleLayoutAnimation()
|
||||
albums_fastscroller.setViews(albums_list) {
|
||||
val item = adapter.items.getOrNull(it)
|
||||
if (item is Track) {
|
||||
|
|
|
@ -63,6 +63,7 @@ class QueueActivity : SimpleActivity() {
|
|||
queue_list.adapter = this
|
||||
}
|
||||
|
||||
queue_list.scheduleLayoutAnimation()
|
||||
queue_fastscroller.setViews(queue_list) {
|
||||
val track = queueAdapter.items.getOrNull(it)
|
||||
queue_fastscroller.updateBubbleText(track?.title ?: "")
|
||||
|
|
|
@ -90,6 +90,7 @@ class TracksActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
tracks_list.adapter = adapter
|
||||
tracks_list.scheduleLayoutAnimation()
|
||||
|
||||
tracks_fastscroller.setViews(tracks_list) {
|
||||
val listItem = when (adapter) {
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/current_track_bar"
|
||||
android:clipToPadding="false"
|
||||
android:layoutAnimation="@anim/layout_animation"
|
||||
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
|
||||
|
||||
<com.simplemobiletools.commons.views.FastScroller
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:clipToPadding="false"
|
||||
android:layoutAnimation="@anim/layout_animation"
|
||||
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
|
||||
|
||||
<com.simplemobiletools.commons.views.FastScroller
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_above="@+id/current_track_bar"
|
||||
android:clipToPadding="false"
|
||||
android:layoutAnimation="@anim/layout_animation"
|
||||
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
|
||||
|
||||
<com.simplemobiletools.commons.views.FastScroller
|
||||
|
|
Loading…
Reference in a new issue