1 <?xml version="1.0" encoding="utf-8"?>
3 Copyright © 2015 Keith Packard <keithp@keithp.com>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
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.
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20 android:orientation="vertical"
21 android:layout_width="match_parent"
22 android:layout_height="match_parent"
24 <ScrollView android:layout_width="fill_parent"
25 android:layout_height="wrap_content">
26 <LinearLayout android:layout_width="wrap_content"
27 android:layout_height="wrap_content"
28 android:orientation="vertical">
29 <TextView android:id="@+id/preload_site_label"
30 android:layout_width="fill_parent"
31 android:layout_height="wrap_content"
32 android:text="@string/preload_site_label"
34 <Spinner android:id="@+id/preload_site_list"
35 android:layout_width="fill_parent"
36 android:layout_height="wrap_content"
37 android:prompt="@string/preload_site_label"
38 android:spinnerMode="dropdown"
40 <TextView android:id="@+id/preload_latitude_label"
41 android:layout_width="fill_parent"
42 android:layout_height="wrap_content"
43 android:text="@string/preload_latitude_label"
45 <EditText android:id="@+id/preload_latitude"
46 android:layout_width="fill_parent"
47 android:layout_height="wrap_content"
48 android:hint="@string/preload_latitude_label"
49 android:inputType="number|numberSigned|numberDecimal"/>
50 <TextView android:id="@+id/preload_longitude_label"
51 android:layout_width="fill_parent"
52 android:layout_height="wrap_content"
53 android:text="@string/preload_longitude_label"
55 <EditText android:id="@+id/preload_longitude"
56 android:layout_width="fill_parent"
57 android:layout_height="wrap_content"
58 android:hint="@string/preload_longitude_label"
59 android:inputType="number|numberSigned|numberDecimal"/>
60 <TextView android:id="@+id/preload_types"
61 android:layout_width="fill_parent"
62 android:layout_height="wrap_content"
63 android:text="@string/preload_types"
66 <CheckBox android:id="@+id/preload_hybrid"
67 android:layout_width="fill_parent"
68 android:layout_height="wrap_content"
69 android:text="@string/preload_hybrid"
71 <CheckBox android:id="@+id/preload_satellite"
72 android:layout_width="fill_parent"
73 android:layout_height="wrap_content"
74 android:text="@string/preload_satellite"
76 <CheckBox android:id="@+id/preload_roadmap"
77 android:layout_width="fill_parent"
78 android:layout_height="wrap_content"
79 android:text="@string/preload_roadmap"
81 <CheckBox android:id="@+id/preload_terrain"
82 android:layout_width="fill_parent"
83 android:layout_height="wrap_content"
84 android:text="@string/preload_terrain"
87 <TextView android:id="@+id/preload_min_zoom_label"
88 android:layout_width="fill_parent"
89 android:layout_height="wrap_content"
90 android:text="@string/preload_min_zoom"
92 <Spinner android:id="@+id/preload_min_zoom"
93 android:layout_width="fill_parent"
94 android:layout_height="wrap_content"
95 android:prompt="@string/preload_min_zoom"
96 android:spinnerMode="dropdown"
98 <TextView android:id="@+id/preload_max_zoom_label"
99 android:layout_width="fill_parent"
100 android:layout_height="wrap_content"
101 android:text="@string/preload_max_zoom"
103 <Spinner android:id="@+id/preload_max_zoom"
104 android:layout_width="fill_parent"
105 android:layout_height="wrap_content"
106 android:prompt="@string/preload_max_zoom"
107 android:spinnerMode="dropdown"
109 <TextView android:id="@+id/preload_radius_label"
110 android:layout_width="fill_parent"
111 android:layout_height="wrap_content"
112 android:text="@string/preload_radius"
114 <Spinner android:id="@+id/preload_radius"
115 android:layout_width="fill_parent"
116 android:layout_height="wrap_content"
117 android:prompt="@string/preload_radius"
118 android:spinnerMode="dropdown"
120 <Button android:id="@+id/preload_load"
121 android:layout_width="match_parent"
122 android:layout_height="wrap_content"
123 android:text="@string/preload_load"
125 <ProgressBar android:id="@+id/preload_progress"
126 android:layout_width="match_parent"
127 android:layout_height="wrap_content"
128 style="@android:style/Widget.ProgressBar.Horizontal"