1 Time picker dial 时间选择器表盘 2 Time picker input 时间选择器输入框

  • 时间选择器会以弹窗形式显示在页面上
  • 有两种选择时间的方式:时钟表盘和直接输入数字
  • 可以设置具体的小时和分钟,也可以选择时间范围
  • 特别适合手机使用,方便快捷地选择时间

Anatomy 结构

Time picker dial  时间选择器表盘

1 Headline 2 Time selector separator Container 3 Period selector 4 container 5 Period selector label text 6 Clock dial selector center 7 Clock dial selector track 8 Text button Icon button 9 Time selector container 10 Clock diallabel text 11 12 Clock dial container 13 Time selector label text 14 Time selector container

Time picker input  时间选择器输入框

1 Headline 2 Time input field separator 3 Container 4 Period selector container 5 Period selector label text 6 Text button 7 Icon button 8 Time input field supporting text 9 Time input field label text 10 Time input field container

States  状态

1 Enabled 已启用 2 Hover 悬停 3 Focus 聚焦 4 Pressed 已按下

Time picker dial - vertical 时间选择器表盘 - 垂直

Vertical time picker dial padding and size measurements 垂直时间选择器表盘的内边距和尺寸测量值

Element  元素 | Attribute  属性 | Value  值

Container  容器 | Width  宽度 | Dynamic  动态的

| Height  高度 | Dynamic  动态的

| Headline alignment  标题对齐方式 | Left  左对齐

| Top/bottom padding  上下填充 | 24dp

| Left/right padding  左右边距 | 24dp

Time selector container  时间选择器容器 | Width  宽度 | 96dp

| Width (24h vertical)  宽度(24 小时垂直方向) | 114dp

| Height  高度 | 80dp

Period selector container时间段选择器容器 | Width (vertical layout)  宽度(垂直布局) | 52dp

| Height (vertical layout)  高度(垂直布局) | 80dp

| Width (horizontal layout)宽度(水平布局) | 216dp

| Height (horizontal layout)高度(水平布局) | 38dp

Clock dial container  表盘容器 | Size  尺寸 | 256dp

Clock dial selector handle钟面选择器手柄 | Size  尺寸 | 48dp

Clock dial selector center时钟表盘选择器中心 | Size  尺寸 | 8dp

Clock dial selector track表盘选择器轨道 | Width  宽度 | 2dp

Time picker dial - horizontal时间选择器表盘 - 水平

lement  元素 | Attribute  属性 | Value  值

Container  容器 | Width  宽度 | Dynamic  动态的

| Height  高度 | Dynamic  动态的

| Headline alignment  标题对齐方式 | Left  左对齐

| Top/bottom padding  上下填充 | 24dp

| Left/right padding  左右边距 | 24dp

Time selector container  时间选择器容器 | Width  宽度 | 96dp

| Width (24h vertical)  宽度(24 小时垂直方向) | 114dp

| Height  高度 | 80dp

Period selector container时间段选择器容器 | Width (vertical layout)  宽度(垂直布局) | 52dp

| Height (vertical layout)  高度(垂直布局) | 80dp

| Width (horizontal layout)宽度(水平布局) | 216dp

| Height (horizontal layout)高度(水平布局) | 38dp

Clock dial container  表盘容器 | Size  尺寸 | 256dp

Clock dial selector handle钟面选择器手柄 | Size  尺寸 | 48dp

Clock dial selector center时钟表盘选择器中心 | Size  尺寸 | 8dp

Clock dial selector track表盘选择器轨道 | Width  宽度 | 2dp

Time picker input  时间选择器输入框

Time picker input padding and size measurements时间选择器输入的内边距和尺寸测量值

Element  元素 | Attribute  属性 | Value  值

Container  容器 | Width  宽度 | Dynamic  动态的

| Height  高度 | Dynamic  动态的

| Headline alignment  标题对齐方式 | Left  左对齐

| Top/bottom padding  上下填充 | 24dp

| Left/right padding  左右边距 | 24dp

Time input field container时间输入字段容器 | Width  宽度 | 96dp

| Height  高度 | 72dp

Period selector container时间段选择器容器 | Width  宽度 | 52dp

| Height  高度 | 72dp

Configurations  配置

Vertical orientation and horizontal orientation垂直方向和水平方向

Vertical layout (default on mobile) 垂直布局(移动设备上默认) Horizontallayout 水平布局

24-hour time picker dial  24 小时制时间选择器表盘

12-hour and 24-hour time picker inputs12 小时制和 24 小时制时间选择器输入