styles.xml
2.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<resources>
<!-- Base application theme. -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
</style>
<style name="dialog" parent="@android:style/Theme.Holo.Dialog">
<item name="android:windowFrame">@null</item>
<item name="android:windowIsFloating">true</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowNoTitle">true</item>
<item name="android:background">@android:color/transparent</item>
<!--阴影 -->
<item name="android:windowBackground">@android:color/transparent</item>
<!-- Dialog进入及退出动画 -->
<item name="android:windowAnimationStyle">@style/BottomShowAnimation</item>
<!--弹窗背景是否变暗-->
<item name="android:backgroundDimEnabled">false</item>
</style>
<style name="fullStyle">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="android:windowFrame">@null</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowIsFloating">false</item>
<item name="android:windowIsTranslucent">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:windowAnimationStyle">@null</item>
<item name="android:backgroundDimEnabled">false</item>
</style>
<!--时间线列表左边图标-->
<declare-styleable name="TimeLineLayout">
<attr name="sntlResource" format="reference" />
</declare-styleable>
<!--平行四边形-->
<declare-styleable name="ParallelogramView">
<attr name="back_color" format="color" />
<attr name="line_color" format="color" />
<attr name="back_alpha" format="integer" />
</declare-styleable>
<declare-styleable name="ShadowCardLayout">
<attr name="sc_shadow_radius" format="dimension" />
<attr name="sc_shadow_color_alpha" format="float" />
<attr name="sc_shadow_elevation" format="dimension" />
<attr name="sc_card_background" format="dimension" />
<attr name="sc_no_shadow_stroke_color" format="color" />
<attr name="sc_no_shadow_stroke_width" format="dimension" />
</declare-styleable>
</resources>