Skip to content

Conversation

@msageryd
Copy link
Contributor

@msageryd msageryd commented Nov 13, 2019

Checkbox.android now has a faster animation in accordance with the material docs https://material.io/design/motion/speed.html#duration (lowered from 200 to 100).

The animation speed is now also scaled by theme.animation.scale

Fixes issue #1467

Motivation

  • Checkbox.android had too slow animations (200ms instead of 100ms as per material docs)
  • Checkbox.android did not use theme.animation.scale for adjusting animation speed

Test plan

Set theme.animation.scale = 10 to se a really slow Checkbox.android in action

animation speed is now adjusted by theme.animation.scale

default animation speed changed from 200 to 100ms to comply with https://material.io/design/motion/speed.html#duration
@callstack-bot
Copy link

Hey @msageryd, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

Copy link
Contributor

@Trancever Trancever left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants