summaryrefslogtreecommitdiff
path: root/wallet/src/main/res/values
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-07-17 14:46:09 -0300
committerTorsten Grote <t@grobox.de>2020-07-17 15:14:14 -0300
commitaa4472c62acd909cea65dd26102b5d7188c7aacd (patch)
tree930a4705a2437e82deec7991678aeec2b4f38712 /wallet/src/main/res/values
parent1c8da5aea284a0299840721afc86dae75b16ba78 (diff)
downloadtaler-android-aa4472c62acd909cea65dd26102b5d7188c7aacd.tar.gz
taler-android-aa4472c62acd909cea65dd26102b5d7188c7aacd.tar.bz2
taler-android-aa4472c62acd909cea65dd26102b5d7188c7aacd.zip
[wallet] Allow to add an exchange manually by providing its base URL
Diffstat (limited to 'wallet/src/main/res/values')
-rw-r--r--wallet/src/main/res/values/strings.xml4
-rw-r--r--wallet/src/main/res/values/styles.xml11
2 files changed, 15 insertions, 0 deletions
diff --git a/wallet/src/main/res/values/strings.xml b/wallet/src/main/res/values/strings.xml
index 79a3630..226c7d1 100644
--- a/wallet/src/main/res/values/strings.xml
+++ b/wallet/src/main/res/values/strings.xml
@@ -50,6 +50,7 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<string name="paste_invalid">Clipboard contains an invalid data type</string>
<string name="uri_invalid">Not a valid Taler URI</string>
<string name="ok">OK</string>
+ <string name="cancel">Cancel</string>
<string name="search">Search</string>
<string name="menu_settings">Settings</string>
@@ -117,6 +118,9 @@ GNU Taler is immune against many types of fraud, such as phishing of credit card
<string name="exchange_list_title">Exchanges</string>
<string name="exchange_list_empty">No exchanges known\n\nAdd one manually or withdraw digital cash!</string>
<string name="exchange_list_currency">Currency: %s</string>
+ <string name="exchange_list_add">Add exchange</string>
+ <string name="exchange_add_url">Enter address of exchange</string>
+ <string name="exchange_add_error">Could not add exchange</string>
<string name="exchange_fee_withdrawal_fee_label">Withdrawal Fee:</string>
<string name="exchange_fee_overhead_label">Rounding Loss:</string>
diff --git a/wallet/src/main/res/values/styles.xml b/wallet/src/main/res/values/styles.xml
index 093f43f..33e31a3 100644
--- a/wallet/src/main/res/values/styles.xml
+++ b/wallet/src/main/res/values/styles.xml
@@ -35,6 +35,8 @@
<style name="AppTheme.Toolbar" parent="Widget.MaterialComponents.Toolbar.Primary" />
+ <style name="DialogTheme" parent="Theme.MaterialComponents.DayNight.Dialog.Alert" />
+
<style name="TransactionTitle">
<item name="android:textSize">16sp</item>
<item name="android:textColor">?android:textColorPrimary</item>
@@ -70,4 +72,13 @@
<item name="cardElevation">8dp</item>
</style>
+ <style name="FabStyle" parent="Widget.MaterialComponents.FloatingActionButton">
+ <item name="android:layout_gravity">bottom|end</item>
+ <item name="android:layout_marginEnd">16dp</item>
+ <item name="android:layout_marginBottom">16dp</item>
+ <item name="backgroundTint">@color/colorPrimary</item>
+ <item name="layout_dodgeInsetEdges">bottom</item>
+ <item name="tint">?attr/colorOnPrimary</item>
+ </style>
+
</resources>