How can I implement “borderline feedback” on android?

Android Design recommends Border Feedback for a scrollable view. http://developer.android.com/design/style/touch-feedback.html

http://i.stack.imgur.com/TuBkX.png

Is there any API or library for user view to implement this with ease and consistency? or should I implement it from scratch?

+4
source share
1 answer

Are you “building custom”? If you stick to user interface elements, you should be fine. All types of scrolling can already be configured to perform different tasks for cases of limited complexity (for example, for scrolling).

If you create user interface elements from scratch, you can simply override or subclass existing user interface elements so that they function the way you want. If not, you can study the source to find out how the various restriction cases (re-reservations) are implemented. But I feel that you are in the first category.

+3
source

Source: https://habr.com/ru/post/1403191/


All Articles