Skip to content

Instantly share code, notes, and snippets.

@sudansh
Last active April 5, 2020 10:24
Show Gist options
  • Save sudansh/711bd6a10aa23074e154591782d15e30 to your computer and use it in GitHub Desktop.
Save sudansh/711bd6a10aa23074e154591782d15e30 to your computer and use it in GitHub Desktop.
TextView
Ripple:
use `android:background="?attr/selectableItemBackground"`
the difference is that selectableItemBackground will keep the ripple within it's view size(width/height). selectableItemBackgroundBorderless will expand it's ripple over other views (like the official calculator app ripple)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment