Button Defaults
Properties
The default corner radius applied for all buttons (COUI height-derived capsule: radius = MinHeight / 2).
The corner radius of the small size tier (COUI height-derived capsule: radius = MinHeightSmall / 2).
The default inside margin applied for all buttons.
The inside margin of the small size tier (COUI Widget.COUI.Button.Small padding 12dp/4dp).
The min height of the small size tier (COUI coui_btn_small_height_min).
The min width of the small size tier (COUI coui_btn_small_width_min).
The legacy COUIButton brightness attribute value. Retained for source compatibility only and no longer used by Button.
The smallest scale a button shrinks to while pressed (COUIPressFeedbackHelper end ratio for surfaces up to 48 x 48dp).
Functions
The default ButtonColors for all buttons.
The ButtonColors for primary buttons.
The default TextButtonColors for all text buttons.
The TextButtonColors for borderless / translate text buttons (COUI Widget.COUI.Button.Large.Borderless / Translate): no fill, primary-tinted label.
The TextButtonColors for primary text buttons.