File: preferences.xml

package info (click to toggle)
openrocket 12.03-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 41,220 kB
  • sloc: java: 69,764; xml: 1,400; php: 198; perl: 38; sh: 36; makefile: 18
file content (70 lines) | stat: -rw-r--r-- 3,014 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
  android:key="preferences"
  android:title="Pref Title"
  android:summary="pref summary"  
    <ListPreference
        android:defaultValue="1"
        android:entries="@array/PreferenceMotorBrowserGroupingEntries"
        android:entryValues="@array/PreferenceMotorBrowserGroupingValues"
        android:key="@string/PreferenceMotorBrowserGroupingOption"
        android:summary="Set the grouping in Motor Browser"
        android:title="@string/motorbrowsergrouptitle" />

    <CheckBoxPreference
        android:defaultValue="false"
        android:title="@string/useinternalfilebrowsertitle"
        android:key="@string/PreferenceUseInternalFileBrowserOption"
        android:summary="@string/useinternalfilebrowsersummary"
        />
     
    <CheckBoxPreference
        android:defaultValue="false"
        android:title="@string/showonlyorkfiles"
        android:key="@string/PreferenceShowOnlyOrkFiles"
        android:summary="@string/showonlyorkfilessummary"
        android:dependency="@string/PreferenceUseInternalFileBrowserOption" 
        />
    
    <!-- This preference is hidden - not to be configured in the Preference screen
    <Preference
        android:defaultValue="/"
        android:key="@string/PreferenceFileBrowserBaseDirectory"
        />
     -->
     
    <PreferenceScreen
        android:key="UnitPrefences"
        android:summary="Configure units"
        android:title="Units" >
        <ListPreference
            android:defaultValue="cm"
            android:entries="@array/PreferenceUnitLengthEntries"
            android:entryValues="@array/PreferenceUnitLengthValues"
            android:key="@string/PreferenceUnitLengthOption"
            android:summary="Set the length unit"
            android:title="Unit of Length" />
        <ListPreference
            android:defaultValue="g"
            android:entries="@array/PreferenceUnitMassEntries"
            android:entryValues="@array/PreferenceUnitMassValues"
            android:key="@string/PreferenceUnitMassOption"
            android:summary="Set the mass unit"
            android:title="Unit of Mass" />
        <ListPreference
            android:defaultValue="m/s"
            android:entries="@array/PreferenceUnitVelocityEntries"
            android:entryValues="@array/PreferenceUnitVelocityValues"
            android:key="@string/PreferenceUnitVelocityOption"
            android:summary="Set the velocity unit"
            android:title="Unit for Velocity" />
        <ListPreference
            android:defaultValue="m"
            android:entries="@array/PreferenceUnitDistanceEntries"
            android:entryValues="@array/PreferenceUnitDistanceValues"
            android:key="@string/PreferenceUnitDistanceOption"
            android:summary="Set the distance unit"
            android:title="Unit for Distance and Altitude" />
    </PreferenceScreen>

</PreferenceScreen>