ExpandableView

Expandable View that change his size and revalidate his parent sizes

open class ExpandableView

Constructors

ExpandableView
Link copied to clipboard
open fun ExpandableView(context: Context)
ExpandableView
Link copied to clipboard
open fun ExpandableView(context: Context, attrs: AttributeSet)
ExpandableView
Link copied to clipboard
open fun ExpandableView(context: Context, attrs: AttributeSet, defStyleAttr: Int)

Functions

collapse
Link copied to clipboard

Collapse the view to zero height.

open fun collapse()
expand
Link copied to clipboard

Expend the view to Wrap Content.

open fun expand()
setHeight
Link copied to clipboard
open fun setHeight(height: Int)