美文网首页
Material Design主题

Material Design主题

作者: tiger桂 | 来源:发表于2017-04-27 17:20 被阅读0次

Material theme

Material主题有定义如下:

@android:style/Theme.Material(dark version)

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

@android:style/Theme.Material.Light.DarkActionBar

material theme仅限于android 5.0,如果想向前支持得使用v7 support包

定制调色板(Customize the Color Palette

/value/styles.xml

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

@android:color/holo_red_light

#3367D6

@android:color/holo_blue_light

#445588

#ff99cc00

@android:color/holo_orange_light

相关文章

网友评论

      本文标题:Material Design主题

      本文链接:https://www.haomeiwen.com/subject/xylnzttx.html