summaryrefslogtreecommitdiff
path: root/wallet/src/main/res/layout/fragment_review_exchange_tos.xml
diff options
context:
space:
mode:
authorTorsten Grote <t@grobox.de>2020-04-02 13:48:33 -0300
committerTorsten Grote <t@grobox.de>2020-04-02 13:48:33 -0300
commita6e5a8d9f210618d779d43c859234b94827bf172 (patch)
tree77ea746665a3d32b2f3e68e33f2f586ea7b8d2e3 /wallet/src/main/res/layout/fragment_review_exchange_tos.xml
parentc3f777e6154d33d26b2431fa886678edf029dd34 (diff)
downloadtaler-android-a6e5a8d9f210618d779d43c859234b94827bf172.tar.gz
taler-android-a6e5a8d9f210618d779d43c859234b94827bf172.tar.bz2
taler-android-a6e5a8d9f210618d779d43c859234b94827bf172.zip
[wallet] Show withdraw summary before ToS and do one-click accept
Diffstat (limited to 'wallet/src/main/res/layout/fragment_review_exchange_tos.xml')
-rw-r--r--wallet/src/main/res/layout/fragment_review_exchange_tos.xml36
1 files changed, 8 insertions, 28 deletions
diff --git a/wallet/src/main/res/layout/fragment_review_exchange_tos.xml b/wallet/src/main/res/layout/fragment_review_exchange_tos.xml
index 9c7d7a1..2587c1a 100644
--- a/wallet/src/main/res/layout/fragment_review_exchange_tos.xml
+++ b/wallet/src/main/res/layout/fragment_review_exchange_tos.xml
@@ -60,35 +60,15 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
- <androidx.constraintlayout.widget.ConstraintLayout
- android:layout_width="match_parent"
+ <CheckBox
+ android:id="@+id/acceptTosCheckBox"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:padding="8dp">
-
- <CheckBox
- android:id="@+id/acceptTosCheckBox"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:text="@string/exchange_tos_accept"
- android:visibility="invisible"
- app:layout_constraintBottom_toTopOf="@+id/acceptTosButton"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintStart_toStartOf="parent"
- tools:visibility="visible" />
-
- <Button
- android:id="@+id/acceptTosButton"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:backgroundTint="@color/green"
- android:enabled="false"
- android:text="@string/exchange_tos_button_continue"
- app:layout_constraintBottom_toBottomOf="parent"
- app:layout_constraintEnd_toEndOf="parent"
- app:layout_constraintHorizontal_bias="1.0"
- app:layout_constraintStart_toStartOf="parent" />
-
- </androidx.constraintlayout.widget.ConstraintLayout>
+ android:layout_marginStart="8dp"
+ android:layout_marginEnd="8dp"
+ android:text="@string/exchange_tos_accept"
+ android:visibility="invisible"
+ tools:visibility="visible" />
</com.google.android.material.card.MaterialCardView>