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; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU General Public License along
17 with this program; if not, write to the Free Software Foundation, Inc.,
18 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
22 android:orientation="vertical"
23 android:layout_width="match_parent"
24 android:layout_height="match_parent"
27 xmlns:android="http://schemas.android.com/apk/res/android"
28 android:stretchColumns="2,3"
29 android:layout_weight="0"
30 android:layout_width="fill_parent"
31 android:layout_height="wrap_content">
34 android:layout_gravity="center"
35 android:layout_weight="1"
36 android:padding="2dip"
37 android:layout_width="wrap_content"
38 android:layout_height="wrap_content">
40 android:id="@+id/select_rate_label"
41 android:layout_width="wrap_content"
42 android:layout_height="wrap_content"
43 android:text="@string/telemetry_rate"
45 <Spinner android:id="@+id/select_rate"
46 android:layout_width="fill_parent"
47 android:layout_height="wrap_content"
48 android:prompt="@string/telemetry_rate"
49 android:spinnerMode="dropdown"
53 android:layout_gravity="center"
54 android:layout_weight="1"
55 android:padding="2dip"
56 android:layout_width="wrap_content"
57 android:layout_height="wrap_content">
59 android:id="@+id/set_units_label"
60 android:layout_width="wrap_content"
61 android:layout_height="wrap_content"
62 android:text="@string/set_units"
64 <Spinner android:id="@+id/set_units"
65 android:layout_width="fill_parent"
66 android:layout_height="wrap_content"
67 android:prompt="@string/set_units"
68 android:spinnerMode="dropdown"
72 android:layout_gravity="center"
73 android:layout_weight="1"
74 android:padding="2dip"
75 android:layout_width="wrap_content"
76 android:layout_height="wrap_content">
78 android:id="@+id/map_type_label"
79 android:layout_width="wrap_content"
80 android:layout_height="wrap_content"
81 android:text="@string/map_type"
83 <Spinner android:id="@+id/map_type"
84 android:layout_width="fill_parent"
85 android:layout_height="wrap_content"
86 android:prompt="@string/map_type"
87 android:spinnerMode="dropdown"
91 android:layout_gravity="center"
92 android:layout_weight="1"
93 android:padding="2dip"
94 android:layout_width="wrap_content"
95 android:layout_height="wrap_content">
97 android:id="@+id/map_source_label"
98 android:layout_width="wrap_content"
99 android:layout_height="wrap_content"
100 android:text="@string/map_source"
102 <Spinner android:id="@+id/map_source"
103 android:layout_width="fill_parent"
104 android:layout_height="wrap_content"
105 android:prompt="@string/map_source"
106 android:spinnerMode="dropdown"
110 <Button android:id="@+id/preload_maps"
111 android:layout_width="match_parent"
112 android:layout_height="wrap_content"
113 android:text="@string/preload_maps"
115 <Button android:id="@+id/manage_frequencies"
116 android:layout_width="match_parent"
117 android:layout_height="wrap_content"
118 android:text="@string/manage_frequencies"
120 <Button android:id="@+id/done"
121 android:layout_width="match_parent"
122 android:layout_height="wrap_content"
123 android:text="@string/done"