• 使用工具提示为按钮或其他用户界面元素添加更多上下文信息
  • 两种类型:普通和丰富
  • 使用普通工具提示描述图标按钮的元素或操作
  • 使用丰富工具提示提供更多细节,例如描述某项功能的价值
  • 丰富的工具提示可包含可选的标题、链接和按钮

M2

M3

Plain tooltip measurements普通工具提示测量

Attribute  属性 | Value  值

Container height  容器高度 | 24dp min  24dp 最小值

Padding  内边距 | 8dp

Rich tooltip  丰富的工具提示

Attribute  属性 | Value  值

Top padding  顶部内边距 | 12dp

Bottom padding  底部内边距 | 8dp

Left and right padding  左右内边距 | 16dp

Rich tooltip configurations 丰富的工具提示配置

1 Subhead, supporting text, and two buttons副标题,支持性文字,以及两个按钮 2 Subhead, supporting text, and one button副标题,支持性文字,以及一个按钮 3 Subhead and supporting text副标题和支持性文字 4 Supporting text and one button支持性文字和一个按钮 5 Button text and two buttons按钮文本和两个按钮