New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

it.sephiroth.android.library.viewrevealanimator:view-reveal-animator

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it.sephiroth.android.library.viewrevealanimator:view-reveal-animator

ViewAnimator with reveal effect

  • 1.1.4
  • Source
  • Maven
  • Socket score

Version published
Maintainers
1
Source

AndroidLibs ViewRevealAnimator Widget

ViewAnimator view with a lollipop style reveal effect. Regular animation can be set (just like the default ViewAnimator) for android < 21.

Installation

Just add this to your gradle build script:

compile 'it.sephiroth.android.library.viewrevealanimator:view-reveal-animator:+'

Usage

<it.sephiroth.android.library.viewrevealanimator.ViewRevealAnimator
    android:layout_centerHorizontal="true"
    android:id="@+id/animator"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:animationDuration="@android:integer/config_longAnimTime"
    app:vra_hideBeforeReveal="true"
    android:measureAllChildren="true"
    android:animateFirstView="true"
    android:outAnimation="@anim/out_animation"
    android:inAnimation="@anim/in_animation"
    android:interpolator="@android:interpolator/accelerate_decelerate">


    <Your Views here />


</it.sephiroth.android.library.viewrevealanimator.ViewRevealAnimator>

Then in your code:

ViewRevealAnimator mViewAnimator = (ViewRevealAnimator) findViewById(R.id.animator);

To show the next or previos index :

mViewAnimator.showNext();
mViewAnimator.showPrevious();

or:

mViewAnimator.setDisplayedChild(mViewAnimator.getDisplayedChild()+1, true, new Point(250, 250));

where the first parameter is the targetChild to display, second means animation on/off, and third parameter (optional) is to set a custom origin for the reveal/hide animation

Show previous view:

Preview

Preview

FAQs

Package last updated on 16 Feb 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc