settings.xml 10.6 KB
Newer Older
K
kevinkong 已提交
1 2 3 4
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
5
    android:background="@color/light_purple"
K
kevinkong 已提交
6 7 8 9 10 11 12
    android:orientation="vertical" >

    <LinearLayout
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal" >

13 14
        <include
            android:layout_width="match_parent"
15 16
            android:layout_height="wrap_content"
            layout="@layout/navigation_bar" />
K
kevinkong 已提交
17 18
    </LinearLayout>

A
andrewleo2013 已提交
19
    <LinearLayout
20
        android:layout_width="match_parent"
A
andrewleo2013 已提交
21
        android:layout_height="wrap_content"
22 23 24 25 26 27 28 29 30 31
        android:focusable="true"
        android:focusableInTouchMode="true"
        android:orientation="vertical"
        android:paddingBottom="@dimen/activity_vertical_margin"
        android:paddingLeft="@dimen/activity_horizontal_margin"
        android:paddingRight="@dimen/activity_horizontal_margin"
        android:paddingTop="@dimen/activity_vertical_margin" >

        <LinearLayout
            android:layout_width="match_parent"
A
andrewleo2013 已提交
32
            android:layout_height="wrap_content"
33 34 35 36 37 38 39 40
            android:layout_marginTop="@dimen/textview_horizontal_margin"
            android:background="@color/white"
            android:orientation="vertical" >

            <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
41
                android:orientation="horizontal"
42 43 44 45 46
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
A
andrewleo 已提交
47
                    android:text="@string/collecting_frequency"
48 49 50 51 52 53 54 55
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity="right" >

56
                    <TextView
57
                        android:id="@+id/time"
58
                        android:layout_width="50sp"
59 60
                        android:layout_height="wrap_content"
                        android:gravity="center_vertical|right"
61 62
                        android:textColor="@color/black"
                        android:textSize="@dimen/text_size" >
63
                    </TextView>
64 65 66
                </LinearLayout>
            </LinearLayout>

67 68 69 70 71
            <SeekBar
                android:id="@+id/timeline"
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
                android:focusable="true"
72
                android:max="59"
73 74
                android:maxHeight="4.0dip"
                android:minHeight="4.0dip"
75
                android:paddingBottom="@dimen/layout_vertical_margin_small"
76 77 78 79 80 81
                android:paddingLeft="16.0dip"
                android:paddingRight="16.0dip"
                android:progress="5"
                android:progressDrawable="@drawable/custom_seekbar"
                android:thumb="@drawable/seekbar_thumb" />

82 83
            <View
                android:layout_width="match_parent"
84
                android:layout_height="@dimen/line_height"
85 86 87
                android:background="@color/light_gray" />

            <RelativeLayout
88
                android:id="@+id/floating_item"
89 90 91 92 93 94 95 96 97
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:id="@+id/floating_Window"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
A
andrewleo 已提交
98
                    android:text="@string/floating_window"
99 100 101 102 103 104 105 106
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <CheckBox
                    android:id="@+id/floating"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
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
                    android:background="@drawable/custom_checkbox"
                    android:button="@null"
                    android:checked="true"
                    android:paddingLeft="@dimen/image_padding"
                    android:paddingRight="@dimen/image_padding" />
            </RelativeLayout>

            <RelativeLayout
                android:id="@+id/auto_stop_item"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:orientation="horizontal"
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/stop_when_exited"
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <CheckBox
                    android:id="@+id/auto_stop"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_alignParentRight="true"
134 135
                    android:background="@drawable/custom_checkbox"
                    android:button="@null"
136
                    android:checked="true"
137 138
                    android:paddingLeft="@dimen/image_padding"
                    android:paddingRight="@dimen/image_padding" />
139
            </RelativeLayout>
140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179

            <LinearLayout
                android:id="@+id/heap_item"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:id="@+id/collect_heap"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/collect_heap"
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/root_notification"
                    android:textColor="@color/gray"
                    android:textSize="@dimen/text_size" />

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity="right" >

                    <CheckBox
                        android:id="@+id/is_root"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_gravity="right"
                        android:background="@drawable/custom_checkbox"
                        android:button="@null"
                        android:checked="false"
                        android:gravity="right"
                        android:paddingLeft="@dimen/image_padding"
                        android:paddingRight="@dimen/image_padding" />
                </LinearLayout>
            </LinearLayout>
180 181 182 183
        </LinearLayout>

        <LinearLayout
            android:layout_width="match_parent"
A
andrewleo2013 已提交
184
            android:layout_height="wrap_content"
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
            android:layout_marginTop="@dimen/textview_horizontal_margin"
            android:background="@color/white"
            android:orientation="vertical" >

            <LinearLayout
                android:id="@+id/mail_settings"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/mail_settings"
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity="right" >

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:src="@drawable/right_arrow"
                        android:textSize="@dimen/text_size" />
                </LinearLayout>
            </LinearLayout>

            <View
                android:layout_width="match_parent"
218
                android:layout_height="@dimen/line_height"
219 220 221
                android:background="@color/light_gray" />

            <LinearLayout
222
                android:id="@+id/about"
223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:gravity="center_vertical"
                android:padding="@dimen/layout_vertical_margin_small" >

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_centerVertical="true"
                    android:text="@string/about"
                    android:textColor="@color/black"
                    android:textSize="@dimen/text_size" />

                <LinearLayout
                    android:layout_width="fill_parent"
                    android:layout_height="wrap_content"
                    android:gravity="right" >

                    <ImageView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:src="@drawable/right_arrow"
                        android:textSize="@dimen/text_size" />
                </LinearLayout>
            </LinearLayout>
        </LinearLayout>
249 250 251
    </LinearLayout>

</LinearLayout>