Added in API level 14

Space


class Space : View
kotlin.Any
   ↳ android.view.View
   ↳ android.widget.Space

Space is a lightweight View subclass that may be used to create gaps between components in general purpose layouts.

Summary

Inherited XML attributes
Inherited constants
Public constructors
Space(context: Context!)

Space(context: Context!, attrs: AttributeSet!)

Space(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

Space(context: Context!, attrs: AttributeSet!, defStyleAttr: Int, defStyleRes: Int)

Public methods
Unit
draw(canvas: Canvas)

Draw nothing.

Protected methods
Unit
onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int)

Inherited functions