材料设计指南(xml示例)

时间:2015-10-23 20:09:00

标签: android material-design

是否有任何随时可用的材料设计(根据谷歌的材料设计指南)样式模板(styles.xml),我可以将其用作基础并快速构建我的ui?

感谢。

1 个答案:

答案 0 :(得分:0)

根据Google docs,只需为您的应用选择以下主题之一:

  

@android:style / Theme.Material(黑暗版)

     

@android:style / Theme.Material.Light(light version)

     

@android:风格/ Theme.Material.Light.DarkActionBar

然后将其应用于AndroidManifest.xml,如下所示:

<application
        android:theme="@android:style/Theme.Material"
        ... >

当然,你可以从上面的一个中extend your own theme

相关问题