Dialogs

Elevation

Defined as @material_dialog_elevation.

Size and edge margins

Value Resource
Minimum width (increment) @dimen/material_dialog_width_minimum_increment
Minimum width @dimen/material_dialog_width_minimum
Minimum vertical edge margin @dimen/material_dialog_screen_edge_margin_minimum_vertical
Minimum horizontal edge margin @dimen/material_dialog_screen_edge_margin_minimum_horizontal

Title and content

Dialog content

  1. @dimen/material_dialog_content_area_padding_horizontal
  2. @dimen/material_dialog_content_area_padding_vertical
  3. @dimen/material_dialog_content_area_title_content_margin
  4. Action area

Actions

Side by side

Dialog actions side by side

  1. Non scrollable content
  2. Scrollable content
  3. @dimen/material_dialog_actions_side_by_side_height
  4. @dimen/material_dialog_actions_side_by_side_button_height
  5. @dimen/material_dialog_actions_side_by_side_padding_end
  6. @dimen/material_dialog_actions_side_by_side_padding_bottom
  7. @dimen/material_dialog_actions_side_by_side_padding_top
  8. @dimen/material_dialog_actions_side_by_side_padding_top_with_divider
  9. @dimen/material_divider_height

Stacked

Dialog actions stacked

  1. @dimen/material_dialog_actions_stacked_button_height
  2. @dimen/material_dialog_actions_stacked_padding_bottom
  3. @dimen/material_dialog_actions_stacked_button_padding_end
  4. Dialog content

Fullscreen dialog

Documentation not yet available, check the raw values.


See also