summaryrefslogtreecommitdiff
path: root/client/Piztor/res/layout/activity_settings.xml
blob: 8ce051f944865e936f8f1764e778854b9315e0cb (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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
	android:layout_width="fill_parent"
	android:layout_height="wrap_content"
	android:background="@drawable/topbar_background"
	android:orientation="horizontal" >

	<RelativeLayout
		android:id="@+id/settings_headbar_layout"
		android:layout_width="wrap_content"
		android:layout_height="wrap_content"
		android:layout_alignParentTop="true" >

		<include layout="@layout/settings_headbar" />
	</RelativeLayout>

	<LinearLayout
		android:layout_width="fill_parent"
		android:layout_height="match_parent"
		android:layout_marginTop="48dip"
		android:orientation="vertical" >

		<TextView
			android:id="@+id/settings_GPSrefreshrate_text"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:text="GPS refresh rate"
			android:layout_gravity="center"
			android:layout_marginTop="10dip"
			android:textSize="20dip"
			android:textColor="@android:color/white" />

		<SeekBar
			android:id="@+id/settings_GPSrefreshrate"
			android:layout_width="match_parent"
			android:layout_height="wrap_content" />


		<!-- LinearLayout
			android:layout_width="fill_parent"
			android:layout_height="wrap_content"
			android:orientation="horizontal"
			-->
			<!-- TextView 
				android:id="@+id/GPS_min_text"
				android:layout_width="wrap_content"
				android:layout_height="wrap_content"
				android:layout_alignParentLeft="true"
				android:layout_marginLeft="10dip"
				android:text="1s"
				android:textSize="10dip"
				android:textColor="@android:color/white"/-->

			<!--TextView
			android:id="@+id/GPS_max_text"
			android:layout_width="wrap_content"
			android:layout_height="wrap_content"
			android:layout_alignParentRight="true"
			android:text="30s"
			android:textColor="@android:color/white"
			android:textSize="10dip" /-->

			<!-- /LinearLayout --> <!-- end of gps text -->

		<ImageView
		    android:id="@+id/settings_seperator1"
		    android:layout_width="wrap_content"
		    android:layout_height="wrap_content"
		    android:src="@drawable/horizontal_line" />

		<LinearLayout
		    android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:id="@+id/settings_sex_layout"
		    android:layout_marginTop="10dip">

			<TextView
			    android:id="@+id/settings_sex_text"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:layout_marginLeft="10dip"
			    android:textSize="20dip"
				android:textColor="@android:color/white"
			    android:text="@string/show_sex" />

			<CheckBox
			    android:id="@+id/settings_show_male"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:text="@string/male" 
			    android:textColor="@android:color/white"/>
			

			<CheckBox
			    android:id="@+id/settings_show_female"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:text="@string/female" 
			    android:textColor="@android:color/white"/>

		</LinearLayout>

		<ImageView
		    android:id="@+id/settings_seperator2"
		    android:layout_width="wrap_content"
		    android:layout_height="wrap_content"
		    android:src="@drawable/horizontal_line" />

		<LinearLayout
		    android:layout_width="match_parent"
			android:layout_height="wrap_content"
			android:id="@+id/settings_team_layout"
		    android:layout_marginTop="10dip">

			<TextView
			    android:id="@+id/settings_team_text"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:layout_marginLeft="10dip"
			    android:textSize="20dip"
				android:textColor="@android:color/white"
			    android:text="@string/show_team" />

			<RadioButton
			    android:id="@+id/settings_team_mine"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:text="@string/mine" 
			    android:textSize="20dip"
				android:textColor="@android:color/white"/>

			<RadioButton
			    android:id="@+id/settings_team_all"
			    android:layout_width="wrap_content"
			    android:layout_height="wrap_content"
			    android:text="@string/all" 
			    android:textSize="20dip"
				android:textColor="@android:color/white"/>

		</LinearLayout>

		<ImageView
		    android:id="@+id/settings_seperator3"
		    android:layout_width="wrap_content"
		    android:layout_height="wrap_content"
		    android:src="@drawable/horizontal_line" />

		</LinearLayout>
	</RelativeLayout>