Why does clickable view gain ripple after being selected?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Why does clickable view gain ripple after being selected?



I'm trying to use the theme attribute colorControlHighlight to apply default ripples to all clickable views in my app. Setting this theme attribute does change the ripple colors for controls such as buttons, tabs, etc.


colorControlHighlight



My clickable views do not have a ripple effect on click initially. However, if I pass over the view by navigating with the arrow keys, pressing tab, etc., the view will then ripple when clicked.



What changes in a view after being selected using the arrow keys?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Keycloak server returning user_not_found error when user is already imported with LDAP

PHP parse/syntax errors; and how to solve them?

How to scale/resize CVPixelBufferRef in objective C, iOS