Skip to main content

MaterialTapTargetSize

How large a Material control's tappable area is, relative to what it draws.

Inherits: enum.Enum

Properties

  • PADDED - Expands the tappable area to at least 48x48 - Material's minimum interactive dimension.
  • SHRINK_WRAP - Shrinks the tappable area to the size of what the control draws, e.g.

Properties​

PADDEDclass-attributeinstance-attribute​

Expands the tappable area to at least 48x48 - Material's minimum interactive dimension. The default.

SHRINK_WRAPclass-attributeinstance-attribute​

Shrinks the tappable area to the size of what the control draws, e.g. a switch's track - for dense layouts such as desktop settings rows.