Add preference selection for Distance and Velocity.
[debian/openrocket] / android / res / xml / preferences.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
3
4   android:key="preferences"
5   android:title="Pref Title"
6   android:summary="pref summary"  
7       
8
9     <ListPreference
10         android:defaultValue="1"
11         android:entries="@array/PreferenceMotorBrowserGroupingEntries"
12         android:entryValues="@array/PreferenceMotorBrowserGroupingValues"
13         android:key="@string/PreferenceMotorBrowserGroupingOption"
14         android:summary="Set the grouping in Motor Browser"
15         android:title="Motor Browser Group" />
16
17     <ListPreference
18         android:defaultValue="cm"
19         android:entries="@array/PreferenceUnitLengthEntries"
20         android:entryValues="@array/PreferenceUnitLengthValues"
21         android:key="@string/PreferenceUnitLengthOption"
22         android:summary="Set the length unit"
23         android:title="Unit of Length"
24         />
25     <ListPreference
26         android:defaultValue="g"
27         android:entries="@array/PreferenceUnitMassEntries"
28         android:entryValues="@array/PreferenceUnitMassValues"
29         android:key="@string/PreferenceUnitMassOption"
30         android:summary="Set the mass unit"
31         android:title="Unit of Mass"
32         />
33     <ListPreference
34         android:defaultValue="m/s"
35         android:entries="@array/PreferenceUnitVelocityEntries"
36         android:entryValues="@array/PreferenceUnitVelocityValues"
37         android:key="@string/PreferenceUnitVelocityOption"
38         android:summary="Set the velocity unit"
39         android:title="Unit for Velocity"
40         />
41     <ListPreference
42         android:defaultValue="m"
43         android:entries="@array/PreferenceUnitDistanceEntries"
44         android:entryValues="@array/PreferenceUnitDistanceValues"
45         android:key="@string/PreferenceUnitDistanceOption"
46         android:summary="Set the distance unit"
47         android:title="Unit for Distance and Altitude"
48         />
49     
50 </PreferenceScreen>