class DoubleLiftLayout : FrameLayout
DoubleLiftLayout expands and collapses a layout's horizontal and vertical sequentially.
class Builder
Builder class for creating DoubleLiftLayout. |
DoubleLiftLayout(context: Context) DoubleLiftLayout(context: Context, attributeSet: AttributeSet) DoubleLiftLayout(context: Context, attributeSet: AttributeSet, defStyle: Int) |
var autoCollapse: Boolean |
|
var autoExpand: Boolean |
|
var cornerRadius: Int |
|
var foldedHeight: Int |
|
var foldedWidth: Int |
|
var isExpanded: Boolean |
|
var liftedHeight: Int |
|
var liftedWith: Int |
|
var liftHorizontalDuration: Long |
|
var liftStartOrientation: LiftStartOrientation |
|
var liftVerticalDuration: Long |
|
var onExpandListener: OnExpandListener? |
fun collapse(doAfterLift: () -> Unit = {}): Unit
Collapse the width and height size sequentially. |
|
fun expand(doAfterLift: () -> Unit = {}): Unit
Expand the width and height size sequentially. |
|
fun onFinishInflate(): Unit |
|
fun setOnExpandListener(block: (Boolean) -> Unit): Unit
Sets an OnExpandListener using a lambda. |