Skip to content
Commit 52dfb629 authored by Robert Snoeberger's avatar Robert Snoeberger
Browse files

Paged carousel for media players

This is a stopgap implementation on top of HorizontalScrollView. It
will take much more work to move to a ViewPager2 implementation. In
the meantime, this at least adds a page indicator to that users will
realize that there are multiple pages.

Added in this change:
 - page indicator
 - fling to next page
 - centering current page when scrolled into

Bug: 153170704
Test: manual - Paged between three players in the carousel. Verify
that the page indicator showed correct page.
Test: manual - Scoll into player and release. Verify that page snaps
back to center.

Change-Id: Iae51d9136184a0a7de083177ea105f2db9a72c99
parent c83fbdea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment