setEndMarginsInDp |
Sets the end margin of a View to the desired dp value. fun View.setEndMarginsInDp(margin: Int): Unit |
setStartMarginInDp |
Sets the start margin of a View to the desired dp value. fun View.setStartMarginInDp(margin: Int): Unit |
toggleVisibleOrGone |
Toggles the View's visibility between View.GONE and View.VISIBLE. If View.getVisibility is View.VISIBLE, sets the visibility to View.GONE. Otherwise, including if visibility is View.INVISIBLE, sets the visibility to View.VISIBLE. fun View.toggleVisibleOrGone(): Unit |