fun ViewGroup.collapseIfEmpty(): Unit
Sets receiver's visibility to View.GONE if receiver has no children; sets it to View.VISIBLE otherwise.