Releases: davideas/FlipView
Releases · davideas/FlipView
v1.2.0
v1.1.3
v1.1.2
v1.1.1
v1.1.0
- New attribute
app:rearImageAnimationDelay
with relative method. - Fixed bugs #4 #5 #6.
- Overridden
showNext()
&showPrevious()
methods fromViewAnimator
: 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 toandroid:background
of the custom layout.
Because of that, at runtime, the methodsetChildBackgroundDrawable(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 withapp: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 ofandroid.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
- 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