easyreveal / com.jem.easyreveal.layouts / EasyRevealConstraintLayout / revealForPercentage
revealForPercentage
fun revealForPercentage(percent:
Float
, shouldAnimate:
Boolean
):
Unit
Overrides RevealLayout.revealForPercentage
Reveal view to specified reveal percentage.
Parameters
percent
- value should be between 0 and 100 (inclusive).
shouldAnimate
- if true, then reveal/hide animation will be performed (based on percent value).