Added length and mass preferences and wired into the application object initialization of the OpenRocket UnitGroup statics. There is currently an issue in the Simulation list in that the motors are not being displayed. This is because currently the motor dao is not wired into the application.
33 lines
1.2 KiB
XML
33 lines
1.2 KiB
XML
<?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="Motor Browser Group" />
|
|
|
|
<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"
|
|
/>
|
|
</PreferenceScreen> |