Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

castorflex/FlipImageView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

29 Commits

Repository files navigation

This library is deprecated. You should be compatible API 14+ and make your own animations. Just rotate on your axis and add a small Z translation.

FlipImageView

Description

Small android lib allowing you to flip an imageview easily, by extending FlipImageView.

This lib is based on the FlipAnimator by coomar. All the credits goes to him.

Check the sample app here https://play.google.com/store/apps/details?id=fr.castorflex.android.flipimageview

XML Usage

<fr.castorflex.android.flipimageview.library.FlipImageView
 xmlns:fiv="http://schemas.android.com/apk/res-auto"
 android:id="@+id/imageview"
 android:layout_width="match_parent"
 android:layout_height="match_parent"
 android:src="@drawable/YOUR_DEFAULT_DRAWABLE"
 fiv:flipDrawable="@drawable/YOUR_FLIPPED_DRAWABLE"
 fiv:flipDuration="YOUR_DURATION_IN_MS"
 fiv:flipInterpolator="@android:anim/YOUR_INTERPOLATOR"
 fiv:flipRotations="none|x|y|z"
 fiv:isAnimated="true|false"
 fiv:isFlipped="true|false"/>

You will find a more detailed explanation here http://castorflex.github.io/blog/2013/04/16/flip-your-imageviews/

License

"THE BEER-WARE LICENSE" (Revision 42):
You can do whatever you want with this stuff.
If we meet some day, and you think this stuff is worth it, you can buy me a beer in return.

Analytics

About

DEPRECATED. Use API14+ and make your animations easier! Small android lib allowing you to make a flip imageview easily, by extending FlipImageView.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /