toggleLayout

fun toggleLayout()

If the layout is not expanded, expand the second layout. If the layout is already expanded, collapse the second layout.