- Adds an interface for the data import feature (not final) - Can read data from a manually created backup file
61 lines
2.0 KiB
XML
61 lines
2.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_title_category_display">
|
|
|
|
<ListPreference
|
|
android:defaultValue="USD"
|
|
android:entries="@array/pref_default_currencies_titles"
|
|
android:entryValues="@array/pref_default_currencies_values"
|
|
android:key="default_currency"
|
|
android:negativeButtonText="@null"
|
|
android:positiveButtonText="@null"
|
|
android:title="@string/pref_title_default_currency" />
|
|
|
|
<EditTextPreference
|
|
android:defaultValue="0"
|
|
android:key="minimum_value_displayed"
|
|
android:negativeButtonText="@null"
|
|
android:positiveButtonText="@null"
|
|
android:title="@string/pref_title_minimum_amount_displayed"
|
|
android:inputType="numberDecimal"
|
|
android:hint="Let blank for none" />
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_title_category_data_backup">
|
|
|
|
<PreferenceScreen android:title="@string/pref_title_export"
|
|
android:key="export"
|
|
android:enabled="false"/>
|
|
|
|
<Preference android:title="@string/pref_title_import"
|
|
android:key="import"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_title_category_synchronization">
|
|
|
|
<PreferenceScreen
|
|
android:fragment="com.herbron.moodl.Activities.SettingsActivity$ExchangePreferenceFragment"
|
|
android:title="@string/pref_header_exchange"
|
|
android:enabled="false"/>
|
|
|
|
<PreferenceScreen
|
|
android:title="@string/pref_header_wallet"
|
|
android:enabled="false"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
<PreferenceCategory
|
|
android:title="@string/pref_title_category_other">
|
|
|
|
<PreferenceScreen android:title="@string/pref_title_version"
|
|
android:key="version"/>
|
|
|
|
</PreferenceCategory>
|
|
|
|
</PreferenceScreen> |