Skip to content

Releases: davideas/FlipView

v1.2.0 (2026)

Choose a tag to compare

@davideas davideas released this 13 Mar 23:11

SDK 30 & Maven Central

  • To enable publication to Maven Central in 2026, the project was rebuilt with a modernized build system and now targets SDK 30 as low as it allowed (2026).
  • No changes to the existing code.

Message to the community

In March 2026, I republished to Maven Central to restore proper distribution and long-term availability.
The last version number (1.2.0) has been preserved to maintain historical continuity with the 2018 release.

v1.2.0 (2018)

Choose a tag to compare

@davideas davideas released this 30 Sep 21:54

Library was only available in JCenter, which shutdown in August 2024.

Project update:

  • Android Studio 3.2
  • AndroidX 1.0.0
  • SDK 28
  • Gradle 4.10.2

v1.1.3

Choose a tag to compare

@davideas davideas released this 07 Mar 22:05
  • Pulled #13: Improved "checked" status, it had wrong value after flipping programmatically more than 2 times.
  • DemoApp: changed signature and fixed scrolling in landscape.
  • Upgraded project.

v1.1.2

Choose a tag to compare

@davideas davideas released this 30 Nov 18:49
  • Fixed #7: don't flip if the target child is the one currently displayed
  • Reviewed comments for javaDoc
  • Upgraded project and demoApp for API 25

v1.1.1

Choose a tag to compare

@davideas davideas released this 06 Apr 22:27
  • Added support to enable/disable flipping programmatically. Overridden setClickable() and setEnabled() [See #8].
  • Adapted demo App to show how to make clickable/enabled/disabled the view.

v1.1.0

Choose a tag to compare

@davideas davideas released this 03 Nov 16:43
  • New attribute app:rearImageAnimationDelay with relative method.
  • Fixed bugs #4 #5 #6.
  • Overridden showNext() & showPrevious() methods from ViewAnimator: now they perform the flip accordingly with the existing
    settings and register its state.
  • Since the FlipView uses shapes to define its border and shadows, one can use app:frontBackground & app:rearBackground
    for the custom Drawable with the desired shape, color and stroke, which always override inner Drawables.
    Alternatively you can do this also by assigning the resource to android:background of the custom layout.
    Because of that, at runtime, the method setChildBackgroundDrawable(child, drawable) has been reviewed (#2 #3).
  • Instead, if you want to use the inner Drawable (OvalShape) and only change color with alpha value, you can do it
    at design time with app:frontBackgroundColor & app:rearBackgroundColor and at runtime with the new method
    setChildBackgroundColor(child, color): it always creates an OvalShape with the custom color (#2 #3).
    Note: setBackgroundColor is the method of android.view.View, so it does the default job!
  • First version of ShapeDrawables static methods (Oval, Arc, RoundRect).
  • Added new static method to enable/disable logs at runtime, debug logs are disabled by default.
  • Added methods to retrieve front and rear ImageViews and front TextView objects.
  • Automatic layer type software when setting PictureDrawable for SVG files (applied on ImageView reference only!).
  • Adapted example to show Autostart and how 2 entire layouts can be animated ;-)

Initial release

Choose a tag to compare

@davideas davideas released this 01 Nov 23:36
  • Initial LayoutAnimation & Initial LayoutAnimationDuration; Reset & stop LayoutAnimationDelay
  • Custom In&Out Animation; Rear ImageAnimation & Rear ImageAnimationDuration
  • MainAnimationDuration
  • Flip & flipSilently
  • Custom FrontLayout & several custom RearLayout
  • Create BitmapFrom, PictureDrawable & ImageBitmap
  • Custom FrontImage, custom FrontText &, custom RearImage
  • Custom Child BackgroundDrawable & color
  • Create inner OvalDrawable, ScaleAnimation
  • Some animation and Drawables already included into he project, so you can start to test it
  • OnFlippingListener, inner onClick
  • Example Activity