taler-android

Android apps for GNU Taler (wallet, PoS, cashier)
Log | Files | Refs | README | LICENSE

settings_main.xml (5388B)


      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_stats"
     72         app:isPreferenceVisible="false"
     73         android:key="pref_stats"
     74         android:summary="@string/settings_stats_summary"
     75         android:title="@string/settings_stats" />
     76 
     77     <Preference
     78         app:icon="@drawable/ic_unarchive"
     79         app:isPreferenceVisible="false"
     80         app:key="pref_export_db"
     81         app:summary="@string/settings_db_export_summary"
     82         app:title="@string/settings_db_export"
     83         tools:isPreferenceVisible="true" />
     84 
     85     <Preference
     86         app:icon="@drawable/ic_archive"
     87         app:isPreferenceVisible="false"
     88         app:key="pref_import_db"
     89         app:summary="@string/settings_db_import_summary"
     90         app:title="@string/settings_db_import"
     91         tools:isPreferenceVisible="true" />
     92 
     93     <Preference
     94         app:icon="@drawable/ic_account_balance_wallet"
     95         app:isPreferenceVisible="true"
     96         app:key="pref_version_app"
     97         app:selectable="false"
     98         app:summary="@string/settings_version_unknown"
     99         app:title="@string/settings_version_app"
    100         tools:isPreferenceVisible="true" />
    101 
    102     <Preference
    103         app:icon="@drawable/ic_adjust"
    104         app:isPreferenceVisible="false"
    105         app:key="pref_version_core"
    106         app:selectable="false"
    107         app:summary="@string/settings_version_unknown"
    108         app:title="@string/settings_version_core"
    109         tools:isPreferenceVisible="true" />
    110 
    111     <Preference
    112         app:icon="@drawable/ic_account_balance"
    113         app:isPreferenceVisible="false"
    114         app:key="pref_version_protocol_exchange"
    115         app:selectable="false"
    116         app:summary="@string/settings_version_unknown"
    117         app:title="@string/settings_version_protocol_exchange"
    118         tools:isPreferenceVisible="true" />
    119 
    120     <Preference
    121         app:icon="@drawable/ic_store_mall"
    122         app:isPreferenceVisible="false"
    123         app:key="pref_version_protocol_merchant"
    124         app:selectable="false"
    125         app:summary="@string/settings_version_unknown"
    126         app:title="@string/settings_version_protocol_merchant"
    127         tools:isPreferenceVisible="true" />
    128 
    129     <Preference
    130         app:isPreferenceVisible="false"
    131         app:key="pref_test"
    132         app:summary="@string/settings_test_summary"
    133         app:title="@string/settings_test"
    134         tools:isPreferenceVisible="true" />
    135 
    136     <Preference
    137         app:icon="@drawable/ic_nuke"
    138         app:isPreferenceVisible="false"
    139         app:key="pref_reset"
    140         app:summary="@string/settings_reset_summary"
    141         app:title="@string/settings_reset"
    142         tools:isPreferenceVisible="true" />
    143 
    144 </PreferenceScreen>