Skip to content

Releases: davideas/FlipView

v1.2.0

30 Sep 21:54
Compare
Choose a tag to compare

Project update:

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

v1.1.3

07 Mar 22:05
Compare
Choose a tag to compare
  • 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

30 Nov 18:49
Compare
Choose a tag to compare
  • 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

06 Apr 22:27
Compare
Choose a tag to compare
  • 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

03 Nov 16:43
Compare
Choose a tag to compare
  • 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

01 Nov 23:36
Compare
Choose a tag to compare
  • 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