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"
65 <CheckBox android:id="@+id/preload_hybrid"
66 android:layout_width="fill_parent"
67 android:layout_height="wrap_content"
68 android:text="@string/preload_hybrid"
70 <CheckBox android:id="@+id/preload_satellite"
71 android:layout_width="fill_parent"
72 android:layout_height="wrap_content"
73 android:text="@string/preload_satellite"
75 <CheckBox android:id="@+id/preload_roadmap"
76 android:layout_width="fill_parent"
77 android:layout_height="wrap_content"
78 android:text="@string/preload_roadmap"
80 <CheckBox android:id="@+id/preload_terrain"
81 android:layout_width="fill_parent"
82 android:layout_height="wrap_content"
83 android:text="@string/preload_terrain"
85 <TextView android:id="@+id/preload_min_zoom_label"
86 android:layout_width="fill_parent"
87 android:layout_height="wrap_content"
88 android:text="@string/preload_min_zoom"
90 <Spinner android:id="@+id/preload_min_zoom"
91 android:layout_width="fill_parent"
92 android:layout_height="wrap_content"
93 android:prompt="@string/preload_min_zoom"
94 android:spinnerMode="dropdown"
96 <TextView android:id="@+id/preload_max_zoom_label"
97 android:layout_width="fill_parent"
98 android:layout_height="wrap_content"
99 android:text="@string/preload_max_zoom"
101 <Spinner android:id="@+id/preload_max_zoom"
102 android:layout_width="fill_parent"
103 android:layout_height="wrap_content"
104 android:prompt="@string/preload_max_zoom"
105 android:spinnerMode="dropdown"
107 <TextView android:id="@+id/preload_radius_label"
108 android:layout_width="fill_parent"
109 android:layout_height="wrap_content"
110 android:text="@string/preload_radius"
112 <Spinner android:id="@+id/preload_radius"
113 android:layout_width="fill_parent"
114 android:layout_height="wrap_content"
115 android:prompt="@string/preload_radius"
116 android:spinnerMode="dropdown"
118 <Button android:id="@+id/preload_load"
119 android:layout_width="match_parent"
120 android:layout_height="wrap_content"
121 android:text="@string/preload_load"
123 <ProgressBar android:id="@+id/preload_progress"
124 android:layout_width="match_parent"
125 android:layout_height="wrap_content"
126 style="@android:style/Widget.ProgressBar.Horizontal"