summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/activity_settings.xml
blob: 3bd6fefb7d294786f5c53fb636771e1d9b866a26 (plain) (blame)
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
161
162
163
164
165
166
167
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content" >

    <LinearLayout

        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:orientation="vertical" >

        <include layout="@layout/settings_headbar"></include>
        
        <RelativeLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dip"
            android:orientation="horizontal">
        	<TextView
	        	android:id="@+id/settings_GPSrefreshrate_text"
	        	android:layout_width="wrap_content"
	        	android:layout_height="wrap_content"
	        	android:layout_gravity="center"
	        	android:layout_marginTop="10dip"
	        	android:layout_marginLeft="60dip"
	        	android:text="GPS refresh rate"
	        	android:textColor="@android:color/white"
	        	android:textSize="20dip" />
        	<TextView
            	android:id="@+id/settings_GPSrefreshrate"
            	android:layout_width="wrap_content"
            	android:layout_height="wrap_content"
            	android:textSize="20dip"
           		android:layout_marginTop="10dip"
           		android:layout_marginLeft="20dip"
            	android:layout_gravity="center_vertical"
            	android:textColor="@android:color/white"
            	android:layout_toRightOf="@+id/settings_GPSrefreshrate_text"
            	android:text="30s"/>

		</RelativeLayout>
		
	    <SeekBar
	        android:id="@+id/settings_GPSrefreshrate_bar"
	        android:layout_width="match_parent"
	        android:layout_height="wrap_content"
	        android:max="60"
	        android:progress="30"
	        android:paddingLeft="18px"
			android:paddingRight="18px"
	        android:layout_marginLeft="40px"
	        android:layout_marginRight="40px" />
        
	    <RelativeLayout
		    android:layout_width="fill_parent"
		    android:layout_height="wrap_content"
		    android:layout_marginLeft="40dip"
		    android:layout_marginRight="40dip">
		    <TextView
		        android:layout_width="wrap_content"
		        android:layout_height="wrap_content"
		        android:textColor="@android:color/white"
		        android:layout_alignParentLeft="true"
		        android:text="fast"
		        android:textSize="12dip"/>
		     <TextView
		        android:layout_width="wrap_content"
		        android:layout_height="wrap_content"
		        android:textColor="@android:color/white"
		        android:layout_alignParentRight="true"
		        android:text="slow"
		        android:textSize="12dip"/>
    	</RelativeLayout>
	    
	    <View
	        android:layout_width="fill_parent"
	        android:layout_height="1.0px"
	        android:layout_marginTop="20dip"
	        android:layout_marginBottom="20dip"
	        android:layout_marginLeft="20dip"
	        android:layout_marginRight="20dip"
	        android:background="#ffc0c3c4" />
	    
	    <TextView
	        android:layout_width="fill_parent"
	        android:layout_height="fill_parent"
	        android:layout_gravity="center"
	        android:gravity="center"
	        android:textSize="30dip"
	        android:textColor="@android:color/white"
	        android:text="@string/subscribe_info"/>
	    <LinearLayout
	        android:layout_width="fill_parent"
	        android:layout_height="wrap_content"
	        android:layout_gravity="center"
	        android:gravity="center"
	        android:layout_marginTop="20dip"
	        android:layout_marginLeft="20dip"
	        android:layout_marginRight="20dip"
	        android:orientation="horizontal">
		   	<TextView
		   	    android:layout_width="wrap_content"
		   	    android:layout_height="wrap_content"
		   	    android:background="#4D4D4D"
		   	    android:textColor="#FFFFFF"
		   	    android:textSize="25dip"
		   	    android:text="company"
		   	    android:id="@+id/settings_subscribe_company"
		   	    />
		   	<TextView
		   	    android:layout_width="wrap_content"
		   	    android:layout_height="wrap_content"
		   	    android:background="#4D4D4D"
		   	    android:textColor="#FFFFFF"
		   	    android:textSize="25dip"
		   	    android:layout_marginLeft="20dip"
		   	    android:text="section"
		   	    android:id="@+id/settings_subscribe_section"
		   	    />

		   	<Button
		   	    android:id="@+id/settings_btn_subscribe"
		   	    android:layout_width="wrap_content"
		   	    android:layout_height="wrap_content"
		   	    android:layout_marginLeft="20dip"
		   	    android:text="@string/change"
		   	    android:textSize="22dip" />

	    </LinearLayout>
	    <View
	        android:layout_width="fill_parent"
	        android:layout_height="1.0px"
	        android:layout_marginTop="20dip"
	        android:layout_marginBottom="20dip"
	        android:layout_marginLeft="20dip"
	        android:layout_marginRight="20dip"
	        android:background="#ffc0c3c4" />
	    <LinearLayout
	        android:layout_width="fill_parent"
	        android:layout_height="wrap_content"
	        android:layout_marginLeft="50dip"
            android:layout_marginRight="50dip"
            android:orientation="vertical">
		    <Button
		        android:layout_width="fill_parent"
            	android:layout_height="wrap_content"
            	android:paddingTop="5dip"
            	android:paddingBottom="5dip"
            	android:text="@string/update_info"
            	android:textSize="30dip"
            	android:textColor="@android:color/white"
            	android:background="#4285F4"
            	android:id="@+id/settings_btn_updateinfo" />
        	<Button
            	android:layout_width="fill_parent"
				android:layout_height="wrap_content"
				android:paddingTop="5dip"
				android:paddingBottom="5dip"
            	android:layout_marginTop="20dip"
            	android:text="@string/logout"
            	android:textSize="30dip"
            	android:textColor="@android:color/white"
            	android:background="#DB4437"
            	android:id="@+id/settings_btn_logout" />
        	</LinearLayout>
    </LinearLayout>
</ScrollView>