DialogButtonBarDefaults

Properties

Link copied to clipboard

The corner radius of a dialog bar button. COUIAlertDialogBottomButtonNewNormal sets drawableRadius=0dp and scaleEnable=false, and the press state of coui_alert_dialog_item_background is a plain <color> with no shape, so a bar button is a square-cornered cell whose only feedback is the press tint filling it.

Link copied to clipboard

The horizontal padding of a bar button, in both tiers. COUI coui_alert_dialog_button_horizontal_padding; also the padding COUIButtonBarLayout.needSetButVertical subtracts from each cell.

Link copied to clipboard

The top margin of a stacked bar holding more than one button. COUI coui_bottom_alert_dialog_buttonbar_margintop.

Link copied to clipboard

The min height of a stacked bar button. COUI coui_alert_dialog_vertical_button_min_height (mVerButMinHeightNormal).

Link copied to clipboard

The min height of the bottom-most stacked bar button. COUI mVerButMinHeightBottom = coui_alert_dialog_vertical_button_min_height + coui_center_alert_dialog_vertical_button_paddingbottom_vertical_extra (12dp).

Link copied to clipboard

The extra bottom padding of the bottom-most stacked bar button, which carries the panel bottom inset. COUI coui_bottom_alert_dialog_vertical_button_padding_bottom_extra_new.

Link copied to clipboard

The extra top padding of the top-most stacked bar button when nothing sits above the bar. COUI coui_bottom_alert_dialog_vertical_button_padding_top_extra_new.

Link copied to clipboard

The vertical padding of a stacked bar button. COUI coui_bottom_alert_dialog_vertical_button_padding_vertical_new (mVerButtonVecPaddingNew).

Link copied to clipboard

The horizontal inset of the divider between stacked bar buttons. COUI coui_bottom_alert_dialog_horizontal_button_margin_default.

Link copied to clipboard

The thickness of the divider between stacked bar buttons. COUI coui_delete_alert_dialog_divider_height_verticalbutton; the horizontal tier draws the thicker DialogDefaults.ButtonBarDividerThickness instead.