diff options
author | Torsten Grote <t@grobox.de> | 2020-03-18 14:24:41 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-03-18 14:24:41 -0300 |
commit | a4796ec47d89a851b260b6fc195494547208a025 (patch) | |
tree | d2941b68ff2ce22c523e7aa634965033b1100560 /wallet/src/main/res/values | |
download | taler-android-a4796ec47d89a851b260b6fc195494547208a025.tar.gz taler-android-a4796ec47d89a851b260b6fc195494547208a025.tar.bz2 taler-android-a4796ec47d89a851b260b6fc195494547208a025.zip |
Merge all three apps into one repository
Diffstat (limited to 'wallet/src/main/res/values')
-rw-r--r-- | wallet/src/main/res/values/colors.xml | 25 | ||||
-rw-r--r-- | wallet/src/main/res/values/dimens.xml | 24 | ||||
-rw-r--r-- | wallet/src/main/res/values/ic_launcher_background.xml | 20 | ||||
-rw-r--r-- | wallet/src/main/res/values/strings.xml | 105 | ||||
-rw-r--r-- | wallet/src/main/res/values/styles.xml | 46 |
5 files changed, 220 insertions, 0 deletions
diff --git a/wallet/src/main/res/values/colors.xml b/wallet/src/main/res/values/colors.xml new file mode 100644 index 0000000..2d1f0d7 --- /dev/null +++ b/wallet/src/main/res/values/colors.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<resources> + <color name="colorPrimary">#283593</color> + <color name="colorPrimaryDark">#1A237E</color> + <color name="colorAccent">#AE1010</color> + + <color name="red">#C62828</color> + <color name="green">#558B2F</color> +</resources> diff --git a/wallet/src/main/res/values/dimens.xml b/wallet/src/main/res/values/dimens.xml new file mode 100644 index 0000000..2bbc14d --- /dev/null +++ b/wallet/src/main/res/values/dimens.xml @@ -0,0 +1,24 @@ +<!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> + <dimen name="nav_header_vertical_spacing">8dp</dimen> + <dimen name="nav_header_height">176dp</dimen> + <dimen name="fab_margin">16dp</dimen> +</resources>
\ No newline at end of file diff --git a/wallet/src/main/res/values/ic_launcher_background.xml b/wallet/src/main/res/values/ic_launcher_background.xml new file mode 100644 index 0000000..758b965 --- /dev/null +++ b/wallet/src/main/res/values/ic_launcher_background.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<resources> + <color name="ic_launcher_background">#000000</color> +</resources>
\ No newline at end of file diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml new file mode 100644 index 0000000..8981e04 --- /dev/null +++ b/wallet/src/main/res/values/strings.xml @@ -0,0 +1,105 @@ +<!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<resources> + <string name="app_name">Taler Wallet</string> + + <string name="nav_header_title">GNU Taler</string> + <string name="nav_header_subtitle">Wallet</string> + <string name="nav_header_desc">Navigation header</string> + + <string name="nav_prompt_withdraw">Withdraw Digital Cash</string> + <string name="nav_exchange_tos">Exchange\'s Terms of Service</string> + <string name="nav_error">Error</string> + + <string name="button_back">Go Back</string> + <string name="button_cancel">Cancel</string> + <string name="button_continue">Continue</string> + <string name="button_scan_qr_code">Scan Taler QR Code</string> + + <string name="menu_history">History</string> + <string name="menu_settings">Settings</string> + <string name="menu_balance_reload">Reload balances</string> + <string name="menu_developer_mode">Developer Mode</string> + <string name="menu_retry_pending_operations">Retry Pending Operations</string> + + <string name="servicedesc">my service</string> + <string name="aiddescription">my aid</string> + + <string name="balances_title">Balances</string> + <string name="balances_inbound_amount">+%1s %2s</string> + <string name="balances_inbound_label">inbound</string> + <string name="balances_empty_state">There is no digital cash in your wallet.\n\nYou can get test money from the demo bank:\n\nhttps://bank.demo.taler.net</string> + + <string name="history_title">History</string> + <string name="history_fee_label">Fee:</string> + <string name="history_show_all">Show All</string> + <string name="history_reload">Reload History</string> + <string name="history_empty">The wallet history is empty</string> + + <!-- HistoryEvents --> + <string name="history_event_exchange_added">Exchange Added</string> + <string name="history_event_exchange_updated">Exchange Updated</string> + <string name="history_event_reserve_balance_updated">Reserve Balance Updated</string> + <string name="history_event_payment_sent">Payment</string> + <string name="history_event_payment_aborted">Payment Aborted</string> + <string name="history_event_withdrawn">Withdraw</string> + <string name="history_event_order_accepted">Purchase Confirmed</string> + <string name="history_event_order_refused">Purchase Cancelled</string> + <string name="history_event_tip_accepted">Tip Accepted</string> + <string name="history_event_tip_declined">Tip Declined</string> + <string name="history_event_order_redirected">Purchase Redirected</string> + <string name="history_event_refund">Refund</string> + <string name="history_event_refreshed">Obtained change</string> + <string name="history_event_unknown">Unknown Event</string> + + <string name="payment_fee">+%s payment fee</string> + <string name="payment_button_confirm">Confirm Payment</string> + <string name="payment_button_abort">Abort</string> + <string name="payment_label_amount_total">Total Amount:</string> + <string name="payment_label_order_summary">Order</string> + <string name="payment_error">Error: %s</string> + <string name="payment_balance_insufficient">Balance insufficient!</string> + <string name="payment_show_details">Show Details</string> + <string name="payment_hide_details">Hide Details</string> + <string name="payment_successful">Payment was successful</string> + <string name="payment_back_button">OK</string> + <string name="payment_already_paid">You\'ve already paid for this order.</string> + + <string name="withdraw_accepted">Withdrawal accepted</string> + <string name="withdraw_success_info">The wire transfer now needs to be confirmed with the bank. Once the wire transfer is complete, the digital cash will automatically show in this wallet.</string> + <string name="withdraw_do_you_want">Do you want to withdraw</string> + <string name="withdraw_fees">(minus exchange fees not shown in this prototype)</string> + <string name="withdraw_exchange">Using the exchange provider</string> + <string name="withdraw_button_testkudos">Withdraw TESTKUDOS</string> + <string name="withdraw_button_confirm">Confirm Withdraw</string> + <string name="withdraw_error_title">Withdrawal Error</string> + <string name="withdraw_error_message">Withdrawing is currently not possible. Please try again later!</string> + + <string name="pending_operations_title">Pending Operations</string> + <string name="pending_operations_refuse">Refuse Proposal</string> + <string name="pending_operations_no_action">(no action)</string> + + <string name="settings_version">Version Information</string> + <string name="exchange_tos_accept">Accept Terms of Service</string> + <string name="exchange_tos_button_continue">Continue</string> + <string name="settings_backups">Backups</string> + <string name="settings_export_to_file">Export wallet to file</string> + <string name="settings_import_from_file">Import from file</string> + <string name="settings_developer">Developer Settings (use with caution!)</string> + <string name="settings_reset">Reset Wallet (dangerous!)</string> + +</resources> diff --git a/wallet/src/main/res/values/styles.xml b/wallet/src/main/res/values/styles.xml new file mode 100644 index 0000000..83f3e3a --- /dev/null +++ b/wallet/src/main/res/values/styles.xml @@ -0,0 +1,46 @@ +<!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<resources> + + <style name="AppTheme" parent="Theme.MaterialComponents.DayNight.DarkActionBar"> + <item name="colorPrimary">@color/colorPrimary</item> + <item name="colorPrimaryDark">@color/colorPrimaryDark</item> + <item name="colorAccent">@color/colorAccent</item> + <item name="colorOnPrimary">@android:color/white</item> + </style> + + <style name="AppTheme.NoActionBar"> + <item name="windowActionBar">false</item> + <item name="windowNoTitle">true</item> + <item name="android:statusBarColor">@android:color/transparent</item> + </style> + + <style name="AppTheme.AppBarOverlay" parent="ThemeOverlay.MaterialComponents.ActionBar" /> + + <style name="AppTheme.Toolbar" parent="Widget.MaterialComponents.Toolbar.Primary" /> + + <style name="HistoryTitle"> + <item name="android:textSize">17sp</item> + <item name="android:textColor">?android:textColorPrimary</item> + </style> + + <style name="BottomCard"> + <item name="cardCornerRadius">0dp</item> + <item name="cardElevation">8dp</item> + </style> + +</resources> |