Flipping views like Gmail & beyond
setClickable()
and setEnabled()
[See #8].app:rearImageAnimationDelay
with relative method.showNext()
& showPrevious()
methods from ViewAnimator
: now they perform the flip accordingly with the existing
settings and register its state.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).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!