-
Notifications
You must be signed in to change notification settings - Fork 118
Background tint
Saket Narayan edited this page Sep 14, 2018
·
6 revisions
InboxRecyclerView
applies a soft tint on the list when its covered. When the content page is pulled, the tint is faded away to give a visual indication when the page can be released to collapse.
It’s also encouraged that apps find other creative ways of communicating this to the user. Dank, for example, uses the status bar color to indicate when the content is eligible for collapse.
By default, a black tint with a maximum opacity of 15% is applied on the list items. This can be customized by using,
recyclerView.tintPainter = TintPainter.uncoveredArea(color = Color.WHITE, opacity = 0.65F)