From 6c84e0b30927d888eccb20cfc4354507a45fddab Mon Sep 17 00:00:00 2001 From: Tangem Date: Wed, 8 Nov 2023 13:53:26 +0300 Subject: [PATCH] Updated on 2026-08-14 --- .../stateSubscribers/SendStateSubscriber.kt | 2 +- .../main/res/layout/layout_send_amount.xml | 78 +++++++------------ 2 files changed, 27 insertions(+), 53 deletions(-) diff --git a/app/src/main/java/com/tangem/tap/features/send/ui/stateSubscribers/SendStateSubscriber.kt b/app/src/main/java/com/tangem/tap/features/send/ui/stateSubscribers/SendStateSubscriber.kt index d71adc7cc8..15044dd26f 100644 --- a/app/src/main/java/com/tangem/tap/features/send/ui/stateSubscribers/SendStateSubscriber.kt +++ b/app/src/main/java/com/tangem/tap/features/send/ui/stateSubscribers/SendStateSubscriber.kt @@ -243,7 +243,7 @@ internal class SendStateSubscriber( } val filter = DecimalDigitsInputFilter( - digitsBeforeDecimal = 12, + digitsBeforeDecimal = 40, digitsAfterDecimal = state.maxLengthOfAmount, decimalSeparator = state.decimalSeparator, ) diff --git a/app/src/main/res/layout/layout_send_amount.xml b/app/src/main/res/layout/layout_send_amount.xml index fb744b5755..b8f987e234 100644 --- a/app/src/main/res/layout/layout_send_amount.xml +++ b/app/src/main/res/layout/layout_send_amount.xml @@ -7,63 +7,34 @@ android:layout_height="wrap_content" app:layout_constraintTop_toBottomOf="@+id/tilAddress"> - - + android:layout_height="82dp" + android:background="@color/background_secondary" + android:fontFamily="sans-serif-light" + android:imeOptions="actionDone" + android:inputType="numberDecimal" + android:paddingStart="0dp" + android:paddingEnd="96dp" + android:textColor="@color/text_primary_1" + android:textSize="@dimen/text_size_amount_to_send" + tools:text="139" /> - - - - - - - - - - - + + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/tilAmountToSend" /> \ No newline at end of file