toggleExpandHorizontallyState

fun View.toggleExpandHorizontallyState(duration: Long = 500): Boolean

Return

true in case of expanding