有AndroidMaterial设计的默认高度合集吗?
Is there a collection of default height for Android Material Design?
我已经研究了Material设计Android。
我发现有很多默认高度。
例如
https://developer.android.com/design/downloads/index.html
https://www.google.com/design/spec/layout/structure.html#structure-app-bar
但是那些资源不是 Android 开发人员的格式。
我想要类似默认的东西-dimen.xml
是否有存储所有这些默认高度的项目,dimen.xml?
然后使用md开头的dimen资源
例如
@dimen/md_button_padding_horizontal
更多默认Material设计布局维度
根据 Material 设计指南和 Android 设计指南的默认颜色和尺寸:
https://github.com/DmitryMalkovich/material-design-dimens
示例
@dimen/material_layout_keylines_screen_edge_margin
@dimen/material_layout_keylines_horizontal_mobile_margin
...
material-components/material-components-android github 存储库定义了样式,您也可以将其用于您的视图。
我已经研究了Material设计Android。
我发现有很多默认高度。
例如
https://developer.android.com/design/downloads/index.html https://www.google.com/design/spec/layout/structure.html#structure-app-bar
但是那些资源不是 Android 开发人员的格式。
我想要类似默认的东西-dimen.xml
是否有存储所有这些默认高度的项目,dimen.xml?
然后使用md开头的dimen资源
例如
@dimen/md_button_padding_horizontal
更多默认Material设计布局维度
根据 Material 设计指南和 Android 设计指南的默认颜色和尺寸:
https://github.com/DmitryMalkovich/material-design-dimens
示例
@dimen/material_layout_keylines_screen_edge_margin
@dimen/material_layout_keylines_horizontal_mobile_margin
...
material-components/material-components-android github 存储库定义了样式,您也可以将其用于您的视图。