张海江
2017-07-26 8dcf4645301af81d39bbcb936b52eb8f904352e8
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/ac_bg"
    android:orientation="vertical">
 
    <TextView
        android:id="@+id/tv_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:background="@mipmap/bg_head"
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:gravity="center"
        android:text="设置"
        android:textColor="@color/white"
        android:textSize="18sp" />
 
    <RelativeLayout
        android:id="@+id/rl_refresh"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:padding="@dimen/x16">
 
        <ImageView
            android:id="@+id/iv1"
            android:layout_width="@dimen/x16"
            android:layout_height="@dimen/x16"
            android:src="@mipmap/icon_refresh" />
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/x10"
            android:layout_toRightOf="@+id/iv1"
            android:text="刷新频率"
            android:textColor="@color/dark_gray_txt"
            android:textSize="16sp" />
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="设置时间"
            android:layout_alignParentRight="true"
            android:textColor="@color/dark_gray_txt"
            android:drawableRight="@mipmap/icon_jiantou"
            android:drawablePadding="@dimen/x6"
            android:textSize="16sp" />
    </RelativeLayout>
    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/gray_line"/>
    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:padding="@dimen/x16">
 
        <ImageView
            android:id="@+id/iv2"
            android:layout_width="@dimen/x16"
            android:layout_height="@dimen/x16"
            android:src="@mipmap/icon_upload" />
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/x10"
            android:layout_toRightOf="@+id/iv2"
            android:text="是否上传数据"
            android:textColor="@color/dark_gray_txt"
            android:textSize="16sp" />
 
        <android.support.v7.widget.SwitchCompat
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentRight="true"/>
    </RelativeLayout>
    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/gray_line"/>
    <RelativeLayout
        android:id="@+id/rl_setvoice"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="@color/white"
        android:padding="@dimen/x16">
 
        <ImageView
            android:id="@+id/iv3"
            android:layout_width="@dimen/x16"
            android:layout_height="@dimen/x16"
            android:src="@mipmap/icon_voice" />
 
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/x10"
            android:layout_toRightOf="@+id/iv3"
            android:text="设置铃声"
            android:textColor="@color/dark_gray_txt"
            android:drawableRight="@mipmap/icon_jiantou"
            android:textSize="16sp" />
    </RelativeLayout>
    <View
        android:layout_width="match_parent"
        android:layout_height="1dp"
        android:background="@color/gray_line"/>
</LinearLayout>