forked from APIJSON/APIJSON-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetting_activity.xml
More file actions
160 lines (123 loc) · 5.94 KB
/
setting_activity.xml
File metadata and controls
160 lines (123 loc) · 5.94 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
style="@style/activity_page" >
<RelativeLayout style="@style/topbar_bg" >
<ImageView style="@style/topbar_return_img" />
<TextView
style="@style/topbar_title"
android:layout_centerHorizontal="true"
android:text="设置" />
<TextView
style="@style/topbar_right_btn"
android:text="恢复默认" />
</RelativeLayout>
<TextView
android:id="@+id/tvSettingContactSettingRemind"
style="@style/text_small"
android:layout_width="match_parent"
android:background="@color/alpha_3"
android:gravity="center"
android:padding="@dimen/common_item_left_tv_padding"
android:visibility="gone" />
<ScrollView style="@style/match_match" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<LinearLayout
android:id="@+id/llSettingAppSettingContainer"
style="@style/ll_vertical_match_wrap" >
<LinearLayout
style="@style/content_item_white"
android:layout_marginTop="@dimen/common_item_distance" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="缓存" />
<ImageView
android:id="@+id/ivSettingCache"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/on" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="预加载" />
<ImageView
android:id="@+id/ivSettingPreload"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/on" />
</LinearLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginBottom="@dimen/common_item_distance" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="声音" />
<ImageView
android:id="@+id/ivSettingVoice"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/on" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="振动" />
<ImageView
android:id="@+id/ivSettingVibrate"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/on" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="夜间免打扰(22:00-6:00)" />
<ImageView
android:id="@+id/ivSettingNoDisturb"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/on" />
</LinearLayout>
<View
style="@style/divider_horizontal_1px"
android:layout_marginBottom="@dimen/common_item_distance" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="测试模式" />
<ImageView
android:id="@+id/ivSettingTestMode"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/off" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/content_item_white" >
<TextView
style="@style/content_item_lf_tv"
android:layout_weight="1"
android:text="第一次启动应用" />
<ImageView
android:id="@+id/ivSettingFirstStart"
style="@style/content_item_rt_img"
android:paddingRight="@dimen/common_item_padding_right"
android:src="@drawable/off" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>