You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ;-)