1 Container 2 Leading icon (optional) 3 Label text (empty) 4 Label text (populated) 5 Trailing icon (optional) 6 Active lndicator (focused) 7 Caret 8 Input text 9 Supporting text (optional) 10 Active Indicator (enabled)
Padding between supporting text and character counter
16dp
Target size 目标大小
56dp
Filled text field configurations 填充文本字段配置
1 With supporting text 带有辅助文本 2 With trailing icon 带有尾随图标 3 With leading icon 带前置图标 4 With leading and trailing icon带有前置和后置图标 5 With prefix 带有前缀 6 With suffix 带有后缀 7 Multi-line text field 多行文本字段
Outlined text field 轮廓文本框
1 Container outline (enabled) 2 Leading icon (optional) 3 Label text (unpopulated) 4 Label text (populated) 5 Trailing icon (optional) 6 Container outline (focused) 7 Caret 8 Input text 9 Supporting text (optional)
Supporting text and character counter top padding支持文本和字符计数器顶部填充
4dp
Padding between supporting text and character counter支持文本和字符计数器之间的填充
16dp
Label alignment 标签对齐方式
Vertically centered 垂直居中
Left/right padding populated label text左/右填充标签文本
4dp
Target size 目标大小
56dp
Outlined text field configurations 轮廓文本字段配置
1 With supporting text 带有辅助文本 2 With trailing icon 带有尾随图标 3 With leading icon 带前置图标 4 With leading and trailing icon带有前置和后置图标 5 With prefix 带有前缀 6 With suffix 带有后缀 7 Multi-line text field 多行文本字段