From 874b52c6d5c0d8043f3250e2b80f5091c159ded1 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 8 Apr 2020 14:21:11 -0300 Subject: [wallet] add option to see exchange's fee structure --- .../main/res/layout/fragment_prompt_withdraw.xml | 28 ++++- .../main/res/layout/fragment_select_exchange.xml | 135 +++++++++++++++++++++ wallet/src/main/res/layout/list_item_coin_fee.xml | 78 ++++++++++++ wallet/src/main/res/layout/list_item_wire_fee.xml | 57 +++++++++ wallet/src/main/res/navigation/nav_graph.xml | 8 ++ wallet/src/main/res/values/strings.xml | 18 +++ 6 files changed, 319 insertions(+), 5 deletions(-) create mode 100644 wallet/src/main/res/layout/fragment_select_exchange.xml create mode 100644 wallet/src/main/res/layout/list_item_coin_fee.xml create mode 100644 wallet/src/main/res/layout/list_item_wire_fee.xml (limited to 'wallet/src/main/res') diff --git a/wallet/src/main/res/layout/fragment_prompt_withdraw.xml b/wallet/src/main/res/layout/fragment_prompt_withdraw.xml index 4372cba..c9c9402 100644 --- a/wallet/src/main/res/layout/fragment_prompt_withdraw.xml +++ b/wallet/src/main/res/layout/fragment_prompt_withdraw.xml @@ -64,7 +64,7 @@ android:layout_marginTop="32dp" android:layout_marginEnd="16dp" android:gravity="center" - android:text="Chosen Amount" + android:text="@string/amount_chosen" android:visibility="invisible" app:layout_constraintBottom_toTopOf="@+id/chosenAmountView" app:layout_constraintEnd_toEndOf="parent" @@ -144,18 +144,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/wallet/src/main/res/layout/list_item_coin_fee.xml b/wallet/src/main/res/layout/list_item_coin_fee.xml new file mode 100644 index 0000000..daf2789 --- /dev/null +++ b/wallet/src/main/res/layout/list_item_coin_fee.xml @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + diff --git a/wallet/src/main/res/layout/list_item_wire_fee.xml b/wallet/src/main/res/layout/list_item_wire_fee.xml new file mode 100644 index 0000000..92ede8b --- /dev/null +++ b/wallet/src/main/res/layout/list_item_wire_fee.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + diff --git a/wallet/src/main/res/navigation/nav_graph.xml b/wallet/src/main/res/navigation/nav_graph.xml index c39df94..f6d8598 100644 --- a/wallet/src/main/res/navigation/nav_graph.xml +++ b/wallet/src/main/res/navigation/nav_graph.xml @@ -96,6 +96,9 @@ android:id="@+id/action_promptWithdraw_to_errorFragment" app:destination="@id/errorFragment" app:popUpTo="@id/showBalance" /> + + Withdraw Digital Cash Exchange\'s Terms of Service + Exchange Fees Error Go Back @@ -103,6 +104,23 @@ Withdrawal Error Withdrawing is currently not possible. Please try again later! + Withdrawal Fee: + Rounding Loss: + Earliest Coin Expiry: + Coin Fees + Wire Fees + + Coin: %s (used %d time) + Coin: %s (used %d times) + + Withdraw Fee: %s + Deposit Fee: %s + Change Fee: %s + Refund Fee: %s + Timespan: %1$s - %2$s + Wire Fee: %s + Closing Fee: %s + Pending Operations Refuse Proposal (no action) -- cgit v1.2.3