A
A
Artem2014-04-14 11:11:50
Android
Artem, 2014-04-14 11:11:50

Enable SurfaceView edge highlighting at end of scroll like ListView?

My application uses a SurfaceView, inside of which a drawing is dynamically created. This picture can be moved (i.e., scrolled), I know its dimensions and forbid scrolling beyond its borders. But I would like to make the edge of the SurfaceView highlight when scrolling ends. Just like if the ListView is scrolled to the end of the list, its bottom edge will be highlighted (yellow, blue or white, depending on the version of Android).
As far as I can see, there is some initialization of this process in the View sources . But it's completely unclear to me how to call it when the boundary is reached.
Tell me please.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question