Timeline Video in HorizontalScrollView [closed]

Multi tool use
Timeline Video in HorizontalScrollView [closed]
I've been intrigued for a few days, because I'd like to make an example code like the following images, but I do not know where to start.
It is a video, from which images have been extracted and have been added to a horizontal scroll view. The white vertical bar marks a position and while pressing on the lower button a yellow rectangle is added until the button is released. I would like to know if you can help me with this code for Android.
Fixed white vertical bar, only horizontal scrollview moves
Yellow rectangle painted while the button is pressed
Thank you very much and greetings
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
Stack Overflow is not a site for designing or writing your code. Please read the tour and help center pages to find what sort of questions are allowed here.
– AdrianHHH
Jul 2 at 10:29