From a6e5a8d9f210618d779d43c859234b94827bf172 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Thu, 2 Apr 2020 13:48:33 -0300 Subject: [wallet] Show withdraw summary before ToS and do one-click accept --- .../main/res/layout/fragment_prompt_withdraw.xml | 14 ++++++--- .../res/layout/fragment_review_exchange_tos.xml | 36 +++++----------------- wallet/src/main/res/navigation/nav_graph.xml | 7 ++--- wallet/src/main/res/values/strings.xml | 7 +++-- 4 files changed, 24 insertions(+), 40 deletions(-) (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 fe64bad..b03ee03 100644 --- a/wallet/src/main/res/layout/fragment_prompt_withdraw.xml +++ b/wallet/src/main/res/layout/fragment_prompt_withdraw.xml @@ -29,7 +29,7 @@ android:layout_marginEnd="16dp" android:layout_marginBottom="8dp" android:gravity="center" - android:text="@string/withdraw_do_you_want" + android:text="@string/withdraw_total" android:visibility="invisible" app:layout_constraintBottom_toTopOf="@+id/withdrawAmountView" app:layout_constraintEnd_toEndOf="parent" @@ -97,13 +97,13 @@ android:layout_marginStart="16dp" android:layout_marginEnd="16dp" android:gravity="center" - android:textSize="25sp" + android:textSize="24sp" android:visibility="invisible" app:layout_constraintBottom_toTopOf="@+id/withdrawCard" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/exchangeIntroView" - tools:text="(exchange base url)" + tools:text="long.exchange.demo.taler.net" tools:visibility="visible" /> + app:layout_constraintStart_toStartOf="parent" + tools:visibility="visible"> + app:layout_constraintStart_toStartOf="parent" + tools:enabled="true" + tools:text="@string/withdraw_button_tos" /> - - - - -