子标题
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eSubheaders are list tiles used to identify content sections, remaining pinned to the top of the screen until pushed off by another subheader.\u003c/p\u003e\n"],["\u003cp\u003eThey consist of a background and a text label, with layout specifications defined by E, M, KL, P, or Flex.\u003c/p\u003e\n"],["\u003cp\u003eSubheaders adhere to typography, color, and sizing guidelines, utilizing Roboto Medium 24dp font, contrasting background/text colors, and a height of 76dp.\u003c/p\u003e\n"],["\u003cp\u003eThey can be implemented in both grid and list views, serving as visual separators for improved content organization.\u003c/p\u003e\n"]]],[],null,["# Subheader\n\n\u003cbr /\u003e\n\nSubheaders are list tiles that identify sections of content in a list or grid view. They are typically used for subsections of content produced by a filter or sort.\n\nWhen content below a subheader is scrolled, the subheader remains pinned to the top of the screen until it is pushed off the screen by the next subheader.\n\n*** ** * ** ***\n\nAnatomy\n-------\n\n1. Subheader background \n2. Text label\n\n*** ** * ** ***\n\nSpecs\n-----\n\n[Layout labels\nDefinitions of E, M, KL, P, Flex](/cars/design/intro-terms#layout_labels)\n\n### Subheader in grid\n\n### Subheader in list\n\n*** ** * ** ***\n\nStyles\n------\n\n[Typography guidelines\nScale and grid references, typographic examples, and more](/cars/design/automotive-os/design-system/typography) \n[Color guidelines\nPalettes, elevation and opacity values, and more](/cars/design/automotive-os/design-system/color)\n\n### Typography\n\n| Type style | Typeface | Weight | Size (dp) |\n|------------|----------|--------|-----------|\n| Body 3 M | Roboto | Medium | 24 |\n\n### Color\n\n| Element | Color(day mode) | Color (night mode) |\n|----------------------|-----------------|--------------------|\n| Primary type | White | White @ 88% |\n| Subheader background | Black | Black |\n\n### Sizing\n\n| Element | Size (dp) |\n|------------------|-----------|\n| Subheader height | 76 |\n\n*** ** * ** ***\n\nExamples\n--------\n\nSubheader in grid Subheader in list\nSubheader in grid Subheader in list"]]