create changelog entry
[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="@string/motorbrowsergroupsummary"
12         android:title="@string/motorbrowsergrouptitle" />
13
14     <CheckBoxPreference
15         android:defaultValue="false"
16         android:title="@string/autosavetitle"
17         android:key="@string/PreferenceAutoSaveOption"
18         android:summary="@string/autosavesummary"/>
19     
20     <CheckBoxPreference
21         android:defaultValue="true"
22         android:title="@string/useinternalfilebrowsertitle"
23         android:key="@string/PreferenceUseInternalFileBrowserOption"
24         android:summary="@string/useinternalfilebrowsersummary"
25         />
26      
27     <CheckBoxPreference
28         android:defaultValue="false"
29         android:title="@string/showonlyorkfiles"
30         android:key="@string/PreferenceShowOnlyOrkFiles"
31         android:summary="@string/showonlyorkfilessummary"
32         android:dependency="@string/PreferenceUseInternalFileBrowserOption" 
33         />
34     
35     <!-- This preference is hidden - not to be configured in the Preference screen
36     <Preference
37         android:defaultValue="/"
38         android:key="@string/PreferenceFileBrowserBaseDirectory"
39         />
40      -->
41      
42     <PreferenceScreen
43         android:key="UnitPrefences"
44         android:summary="Configure units"
45         android:title="Units" >
46         <ListPreference
47             android:defaultValue="cm"
48             android:entries="@array/PreferenceUnitLengthEntries"
49             android:entryValues="@array/PreferenceUnitLengthValues"
50             android:key="@string/PreferenceUnitLengthOption"
51             android:summary="Set the length unit"
52             android:title="Unit of Length" />
53         <ListPreference
54             android:defaultValue="g"
55             android:entries="@array/PreferenceUnitMassEntries"
56             android:entryValues="@array/PreferenceUnitMassValues"
57             android:key="@string/PreferenceUnitMassOption"
58             android:summary="Set the mass unit"
59             android:title="Unit of Mass" />
60         <ListPreference
61             android:defaultValue="m/s"
62             android:entries="@array/PreferenceUnitVelocityEntries"
63             android:entryValues="@array/PreferenceUnitVelocityValues"
64             android:key="@string/PreferenceUnitVelocityOption"
65             android:summary="Set the velocity unit"
66             android:title="Unit for Velocity" />
67         <ListPreference
68             android:defaultValue="m"
69             android:entries="@array/PreferenceUnitDistanceEntries"
70             android:entryValues="@array/PreferenceUnitDistanceValues"
71             android:key="@string/PreferenceUnitDistanceOption"
72             android:summary="Set the distance unit"
73             android:title="Unit for Distance and Altitude" />
74     </PreferenceScreen>
75
76 </PreferenceScreen>