1 <?xml version="1.0" encoding="utf-8"?>
4 Copyright © 2016 Keith Packard <keithp@keithp.com>
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; version 2 of the License.
10 This program is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 General Public License for more details.
15 You should have received a copy of the GNU General Public License along
16 with this program; if not, write to the Free Software Foundation, Inc.,
17 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
20 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21 android:orientation="vertical"
22 android:layout_width="match_parent"
23 android:layout_height="match_parent"
26 xmlns:android="http://schemas.android.com/apk/res/android"
27 android:stretchColumns="2,3"
28 android:layout_weight="0"
29 android:layout_width="fill_parent"
30 android:layout_height="wrap_content">
33 android:layout_gravity="center"
34 android:layout_weight="1"
35 android:padding="2dip"
36 android:layout_width="wrap_content"
37 android:layout_height="wrap_content">
39 android:id="@+id/select_rate_label"
40 android:layout_width="wrap_content"
41 android:layout_height="wrap_content"
42 android:text="@string/telemetry_rate"
44 <Spinner android:id="@+id/select_rate"
45 android:layout_width="fill_parent"
46 android:layout_height="wrap_content"
47 android:prompt="@string/telemetry_rate"
48 android:spinnerMode="dropdown"
52 android:layout_gravity="center"
53 android:layout_weight="1"
54 android:padding="2dip"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content">
58 android:id="@+id/set_units_label"
59 android:layout_width="wrap_content"
60 android:layout_height="wrap_content"
61 android:text="@string/set_units"
63 <Spinner android:id="@+id/set_units"
64 android:layout_width="fill_parent"
65 android:layout_height="wrap_content"
66 android:prompt="@string/set_units"
67 android:spinnerMode="dropdown"
71 android:layout_gravity="center"
72 android:layout_weight="1"
73 android:padding="2dip"
74 android:layout_width="wrap_content"
75 android:layout_height="wrap_content">
77 android:id="@+id/map_type_label"
78 android:layout_width="wrap_content"
79 android:layout_height="wrap_content"
80 android:text="@string/map_type"
82 <Spinner android:id="@+id/map_type"
83 android:layout_width="fill_parent"
84 android:layout_height="wrap_content"
85 android:prompt="@string/map_type"
86 android:spinnerMode="dropdown"
90 android:layout_gravity="center"
91 android:layout_weight="1"
92 android:padding="2dip"
93 android:layout_width="wrap_content"
94 android:layout_height="wrap_content">
96 android:id="@+id/map_source_label"
97 android:layout_width="wrap_content"
98 android:layout_height="wrap_content"
99 android:text="@string/map_source"
101 <Spinner android:id="@+id/map_source"
102 android:layout_width="fill_parent"
103 android:layout_height="wrap_content"
104 android:prompt="@string/map_source"
105 android:spinnerMode="dropdown"
109 <Button android:id="@+id/preload_maps"
110 android:layout_width="match_parent"
111 android:layout_height="wrap_content"
112 android:text="@string/preload_maps"
114 <Button android:id="@+id/manage_frequencies"
115 android:layout_width="match_parent"
116 android:layout_height="wrap_content"
117 android:text="@string/manage_frequencies"
119 <Button android:id="@+id/done"
120 android:layout_width="match_parent"
121 android:layout_height="wrap_content"
122 android:text="@string/done"