Various changes to android application. Separate the loading of an ork file into...
[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   android:key="preferences"
4   android:title="Pref Title"
5   android:summary="pref summary"  
6     <ListPreference
7         android:defaultValue="1"
8         android:entries="@array/PreferenceMotorBrowserGroupingEntries"
9         android:entryValues="@array/PreferenceMotorBrowserGroupingValues"
10         android:key="@string/PreferenceMotorBrowserGroupingOption"
11         android:summary="Set the grouping in Motor Browser"
12         android:title="@string/motorbrowsergrouptitle" />
13
14     <CheckBoxPreference
15         android:defaultValue="false"
16         android:title="@string/useinternalfilebrowsertitle"
17         android:key="@string/PreferenceUseInternalFileBrowserOption"
18         android:summary="@string/useinternalfilebrowsersummary"
19         />
20         
21     <PreferenceScreen
22         android:key="UnitPrefences"
23         android:summary="Configure units"
24         android:title="Units" >
25         <ListPreference
26             android:defaultValue="cm"
27             android:entries="@array/PreferenceUnitLengthEntries"
28             android:entryValues="@array/PreferenceUnitLengthValues"
29             android:key="@string/PreferenceUnitLengthOption"
30             android:summary="Set the length unit"
31             android:title="Unit of Length" />
32         <ListPreference
33             android:defaultValue="g"
34             android:entries="@array/PreferenceUnitMassEntries"
35             android:entryValues="@array/PreferenceUnitMassValues"
36             android:key="@string/PreferenceUnitMassOption"
37             android:summary="Set the mass unit"
38             android:title="Unit of Mass" />
39         <ListPreference
40             android:defaultValue="m/s"
41             android:entries="@array/PreferenceUnitVelocityEntries"
42             android:entryValues="@array/PreferenceUnitVelocityValues"
43             android:key="@string/PreferenceUnitVelocityOption"
44             android:summary="Set the velocity unit"
45             android:title="Unit for Velocity" />
46         <ListPreference
47             android:defaultValue="m"
48             android:entries="@array/PreferenceUnitDistanceEntries"
49             android:entryValues="@array/PreferenceUnitDistanceValues"
50             android:key="@string/PreferenceUnitDistanceOption"
51             android:summary="Set the distance unit"
52             android:title="Unit for Distance and Altitude" />
53     </PreferenceScreen>
54
55 </PreferenceScreen>