attrs.xml
3.32 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<resources>
<declare-styleable name="CircleImageView">
<attr name="civ_border_width" format="dimension" />
<attr name="civ_border_color" format="color" />
<attr name="civ_border_overlay" format="boolean" />
<attr name="civ_fill_color" format="color" />
</declare-styleable>
<declare-styleable name="SettingItemView">
<attr name="setting_title" format="string" />
<attr name="setting_subTitle" format="string" />
<attr name="setting_contentTxt" format="string" />
<attr name="setting_icon" format="reference" />
<attr name="setting_imgTxt_color" format="reference" />
<attr name="setting_showArrow" format="boolean" />
<attr name="setting_showDivider" format="boolean" />
<attr name="setting_showTips" format="boolean" />
<attr name="setting_showContentTv" format="boolean" />
</declare-styleable>
<declare-styleable name="InformationItemView">
<attr name="info_title" format="string" />
<attr name="info_subTitle" format="string" />
<attr name="info_icon" format="reference" />
<attr name="info_showIcon" format="boolean" />
<attr name="info_showRightIcon" format="boolean" />
<attr name="info_showDivider" format="boolean" />
</declare-styleable>
<!--自定义标题栏属性-->
<declare-styleable name="CustomActionBar">
<!--标题文字-->
<attr name="action_title" format="string" />
<!--最右边文字-->
<attr name="action_txt_right" format="string" />
<!--返回键资源id-->
<attr name="action_iv_back" format="reference" />
<!--最右边图片资源id-->
<attr name="action_iv_right" format="reference" />
<!--是否显示返回键-->
<attr name="action_iv_back_show" format="boolean" />
<!--是否显示标题右边图片-->
<attr name="action_show_iv_title_right" format="boolean" />
<!--是否显示最右边图片-->
<attr name="action_show_iv_right" format="boolean" />
<!--是否显示最右边文字-->
<attr name="action_show_txt_right" format="boolean" />
</declare-styleable>
<!--自定义MLImageView的属性-->
<declare-styleable name="MLImageView">
<attr name="press_alpha" format="integer" />
<attr name="press_color" format="color" />
<attr name="radius" format="dimension" />
<attr name="border_width" format="dimension" />
<attr name="border_color" format="color" />
<attr name="shape_type" format="enum">
<enum name="round" value="0" />
<enum name="rectangle" value="1" />
</attr>
</declare-styleable>
<!--侧滑返回-->
<declare-styleable name="SwipeBackLayout">
<attr name="edge_size" format="dimension" />
<attr name="edge_flag">
<enum name="left" value="0" />
<enum name="right" value="1" />
<enum name="bottom" value="2" />
<enum name="all" value="3" />
</attr>
<attr name="shadow_left" format="reference" />
<attr name="shadow_right" format="reference" />
<attr name="shadow_bottom" format="reference" />
</declare-styleable>
<attr name="SwipeBackLayoutStyle" format="reference" />
</resources>