diff options
author | Torsten Grote <t@grobox.de> | 2020-04-08 14:21:11 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-04-08 14:21:11 -0300 |
commit | 874b52c6d5c0d8043f3250e2b80f5091c159ded1 (patch) | |
tree | aa994a5805a0feda15d894a6fcf1d6357f97ce29 /wallet/src/main/res/layout/fragment_prompt_withdraw.xml | |
parent | 9ee202aebf6416bb336729cb3044e4921a94bee4 (diff) | |
download | taler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.tar.gz taler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.tar.bz2 taler-android-874b52c6d5c0d8043f3250e2b80f5091c159ded1.zip |
[wallet] add option to see exchange's fee structure
Diffstat (limited to 'wallet/src/main/res/layout/fragment_prompt_withdraw.xml')
-rw-r--r-- | wallet/src/main/res/layout/fragment_prompt_withdraw.xml | 28 |
1 files changed, 23 insertions, 5 deletions
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 @@ <TextView android:id="@+id/withdrawExchangeUrl" - android:layout_width="0dp" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="16dp" - android:layout_marginEnd="16dp" + android:layout_marginEnd="8dp" android:gravity="center" android:textSize="24sp" android:visibility="invisible" + app:layout_constrainedWidth="true" app:layout_constraintBottom_toTopOf="@+id/withdrawCard" - app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintEnd_toStartOf="@+id/selectExchangeButton" + app:layout_constraintHorizontal_chainStyle="packed" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@+id/exchangeIntroView" - tools:text="long.exchange.demo.taler.net" + tools:text="demo.taler.net" + tools:visibility="visible" /> + + <ImageButton + android:id="@+id/selectExchangeButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="16dp" + android:backgroundTint="@color/colorPrimary" + android:contentDescription="@string/nav_exchange_fees" + android:src="@drawable/ic_cash_usd_outline" + android:tint="?attr/colorOnPrimary" + android:visibility="invisible" + app:layout_constraintBottom_toBottomOf="@+id/withdrawExchangeUrl" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toEndOf="@+id/withdrawExchangeUrl" + app:layout_constraintTop_toTopOf="@+id/withdrawExchangeUrl" tools:visibility="visible" /> <ProgressBar |