settings_main.xml (5153B)
1 <?xml version="1.0" encoding="utf-8"?><!-- 2 ~ This file is part of GNU Taler 3 ~ (C) 2020 Taler Systems S.A. 4 ~ 5 ~ GNU Taler is free software; you can redistribute it and/or modify it under the 6 ~ terms of the GNU General Public License as published by the Free Software 7 ~ Foundation; either version 3, or (at your option) any later version. 8 ~ 9 ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY 10 ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. 12 ~ 13 ~ You should have received a copy of the GNU General Public License along with 14 ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 --> 16 17 <PreferenceScreen xmlns:app="http://schemas.android.com/apk/res-auto" 18 xmlns:tools="http://schemas.android.com/tools" 19 xmlns:android="http://schemas.android.com/apk/res/android"> 20 21 <Preference 22 app:fragment="net.taler.wallet.exchanges.ExchangeListFragment" 23 app:icon="@drawable/ic_server" 24 app:key="pref_exchanges" 25 app:summary="@string/exchange_settings_summary" 26 app:title="@string/exchange_settings_title" /> 27 28 <Preference 29 android:fragment="net.taler.wallet.accounts.BankAccountsFragment" 30 android:icon="@drawable/ic_account_balance" 31 android:key="pref_accounts" 32 android:summary="@string/settings_bank_accounts_summary" 33 android:title="@string/settings_bank_accounts" /> 34 35 <Preference 36 app:fragment="net.taler.wallet.donau.SetDonauFragment" 37 app:icon="@drawable/ic_donau" 38 app:key="pref_donau" 39 app:summary="@string/settings_donau_summary" 40 app:title="@string/settings_donau" /> 41 42 <SwitchPreference 43 app:icon="@drawable/ic_shield" 44 app:key="pref_biometric_lock" 45 app:title="@string/settings_lock_auth" 46 app:summary="@string/settings_lock_auth_summary"/> 47 48 <SwitchPreference 49 app:icon="@drawable/ic_developer_mode" 50 app:key="pref_dev_mode" 51 app:summary="@string/settings_dev_mode_summary" 52 app:title="@string/settings_dev_mode" /> 53 54 <Preference 55 app:icon="@drawable/ic_cash_usd_outline" 56 app:isPreferenceVisible="false" 57 app:key="pref_testkudos" 58 app:summary="@string/settings_withdraw_testkudos_summary" 59 app:title="@string/settings_withdraw_testkudos" 60 tools:isPreferenceVisible="true" /> 61 62 <Preference 63 app:icon="@drawable/ic_bug_report" 64 app:isPreferenceVisible="false" 65 app:key="pref_logcat" 66 app:summary="@string/settings_logcat_summary" 67 app:title="@string/settings_logcat" 68 tools:isPreferenceVisible="true" /> 69 70 <Preference 71 app:icon="@drawable/ic_unarchive" 72 app:isPreferenceVisible="false" 73 app:key="pref_export_db" 74 app:summary="@string/settings_db_export_summary" 75 app:title="@string/settings_db_export" 76 tools:isPreferenceVisible="true" /> 77 78 <Preference 79 app:icon="@drawable/ic_archive" 80 app:isPreferenceVisible="false" 81 app:key="pref_import_db" 82 app:summary="@string/settings_db_import_summary" 83 app:title="@string/settings_db_import" 84 tools:isPreferenceVisible="true" /> 85 86 <Preference 87 app:icon="@drawable/ic_account_balance_wallet" 88 app:isPreferenceVisible="true" 89 app:key="pref_version_app" 90 app:selectable="false" 91 app:summary="@string/settings_version_unknown" 92 app:title="@string/settings_version_app" 93 tools:isPreferenceVisible="true" /> 94 95 <Preference 96 app:icon="@drawable/ic_adjust" 97 app:isPreferenceVisible="false" 98 app:key="pref_version_core" 99 app:selectable="false" 100 app:summary="@string/settings_version_unknown" 101 app:title="@string/settings_version_core" 102 tools:isPreferenceVisible="true" /> 103 104 <Preference 105 app:icon="@drawable/ic_account_balance" 106 app:isPreferenceVisible="false" 107 app:key="pref_version_protocol_exchange" 108 app:selectable="false" 109 app:summary="@string/settings_version_unknown" 110 app:title="@string/settings_version_protocol_exchange" 111 tools:isPreferenceVisible="true" /> 112 113 <Preference 114 app:icon="@drawable/ic_store_mall" 115 app:isPreferenceVisible="false" 116 app:key="pref_version_protocol_merchant" 117 app:selectable="false" 118 app:summary="@string/settings_version_unknown" 119 app:title="@string/settings_version_protocol_merchant" 120 tools:isPreferenceVisible="true" /> 121 122 <Preference 123 app:isPreferenceVisible="false" 124 app:key="pref_test" 125 app:summary="@string/settings_test_summary" 126 app:title="@string/settings_test" 127 tools:isPreferenceVisible="true" /> 128 129 <Preference 130 app:icon="@drawable/ic_nuke" 131 app:isPreferenceVisible="false" 132 app:key="pref_reset" 133 app:summary="@string/settings_reset_summary" 134 app:title="@string/settings_reset" 135 tools:isPreferenceVisible="true" /> 136 137 </PreferenceScreen>