Skip to content

Add new animation types#22

Open
ronaldsmartin wants to merge 22 commits intomasterfrom
feature/distinct-animation-types
Open

Add new animation types#22
ronaldsmartin wants to merge 22 commits intomasterfrom
feature/distinct-animation-types

Conversation

@ronaldsmartin
Copy link
Copy Markdown
Owner

Adds the animation types proposed in #4:

  • ANIMATION_STYLE_NONE: No animation, like the original ViewPagerIndicator library and iOS's UIPageControl.
  • ANIMATION_STYLE_INK: The original (and default) ink path animation
  • ANIMATION_STYLE_SCALE: The dot color/scale animation currently used in the Google News & Weather app.

These can be set using either the animationStyle XML property in layouts or the setAnimationStyle(@AnimationStyle int) method.

@ronaldsmartin ronaldsmartin added this to the 1.1.0 milestone May 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant