Updated on 2026-08-14
This commit is contained in:
parent
bc0a1a8b48
commit
bb6ad36215
4 changed files with 85 additions and 126 deletions
|
|
@ -14,7 +14,7 @@
|
|||
android:fontFamily="@font/raleway_r"
|
||||
android:paddingBottom="4dp"
|
||||
android:paddingTop="8dp"
|
||||
android:text="Send payment"
|
||||
android:text="@string/send_payment"
|
||||
android:textAlignment="center"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_large"
|
||||
|
|
@ -38,9 +38,9 @@
|
|||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="From banknote"
|
||||
android:text="@string/from_banknote"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_medium"/>
|
||||
|
||||
|
|
@ -48,74 +48,75 @@
|
|||
android:id="@+id/tvCardID"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text=" "
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold"/>
|
||||
android:textStyle="bold"
|
||||
tools:text="3434 7474 7474 8484"/>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="with balance"
|
||||
android:text="@string/with_balance"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_medium"/>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBalance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text=" "
|
||||
android:textColor="@color/black"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold"/>
|
||||
android:textStyle="bold"
|
||||
tools:text="0.844"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tvBalanceEquivalent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text=" "
|
||||
android:textColor="@android:color/darker_gray"
|
||||
android:textSize="14dp"/>
|
||||
android:textSize="@dimen/text_size_1_small"
|
||||
tools:text="343"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<android.support.constraint.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="16dp"
|
||||
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Send to wallet"
|
||||
android:text="@string/send_to_wallet"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
||||
<EditText
|
||||
|
|
@ -126,11 +127,11 @@
|
|||
android:layout_marginRight="8dp"
|
||||
android:enabled="false"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:hint="target wallet address"
|
||||
android:hint="@string/target_wallet_address"
|
||||
android:inputType="text"
|
||||
android:padding="12dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14dp"
|
||||
android:textSize="@dimen/text_size_1_small"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
<android.support.constraint.ConstraintLayout
|
||||
|
|
@ -141,10 +142,10 @@
|
|||
android:id="@+id/textView3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Amount"
|
||||
android:text="@string/amount"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -156,9 +157,9 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="1dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginStart="4dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="(including fee)"
|
||||
android:text="@string/including_fee"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="14sp"
|
||||
app:layout_constraintBottom_toBottomOf="@+id/textView3"
|
||||
|
|
@ -169,18 +170,17 @@
|
|||
<android.support.constraint.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="16dp">
|
||||
android:layout_marginStart="16dp">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etAmount"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:editable="false"
|
||||
android:layout_marginStart="16dp"
|
||||
android:enabled="false"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:hint="payment amount"
|
||||
android:hint="@string/payment_amount"
|
||||
android:inputType="numberDecimal"
|
||||
android:padding="12dp"
|
||||
android:textColor="@color/black"
|
||||
|
|
@ -201,8 +201,8 @@
|
|||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text="mBTC"
|
||||
android:textSize="24dp"
|
||||
android:text="@string/m_btc"
|
||||
android:textSize="@dimen/text_size_large"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toStartOf="@+id/tvAmountEquivalent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
@ -214,12 +214,12 @@
|
|||
android:layout_marginEnd="12dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text=" "
|
||||
android:textColor="@android:color/darker_gray"
|
||||
android:textSize="14dp"
|
||||
android:textSize="@dimen/text_size_1_small"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="0000"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
||||
|
|
@ -242,63 +242,28 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginLeft="7dp"
|
||||
android:layout_marginStart="7dp"
|
||||
android:layout_marginTop="16dp"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Fee"
|
||||
android:text="@string/fee"
|
||||
android:textColor="@color/primary"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
<!--<RadioGroup-->
|
||||
<!--android:id="@+id/rgFee"-->
|
||||
<!--android:layout_width="fill_parent"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:orientation="horizontal"-->
|
||||
<!--android:checkedButton="@id/rbNormalFee"-->
|
||||
<!-->-->
|
||||
<!--<RadioButton android:id="@+id/rbMinimalFee"-->
|
||||
<!--android:layout_width="0dp"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:text="Minimal"-->
|
||||
<!--android:layout_weight="1"-->
|
||||
<!--android:fontFamily="@font/raleway_r"-->
|
||||
<!--android:textColor="@color/black"-->
|
||||
<!--android:textSize="@dimen/font_normal"-->
|
||||
<!--/>-->
|
||||
<!--<RadioButton android:id="@+id/rbNormalFee"-->
|
||||
<!--android:layout_width="0dp"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:text="Normal"-->
|
||||
<!--android:layout_weight="1"-->
|
||||
<!--android:fontFamily="@font/raleway_r"-->
|
||||
<!--android:textColor="@color/black"-->
|
||||
<!--android:textSize="@dimen/font_normal"-->
|
||||
<!--/>-->
|
||||
<!--<RadioButton android:id="@+id/rbMaximumFee"-->
|
||||
<!--android:layout_width="0dp"-->
|
||||
<!--android:layout_height="wrap_content"-->
|
||||
<!--android:text="Maximum"-->
|
||||
<!--android:layout_weight="1"-->
|
||||
<!--android:fontFamily="@font/raleway_r"-->
|
||||
<!--android:textColor="@color/black"-->
|
||||
<!--android:textSize="@dimen/font_normal"-->
|
||||
<!--/>-->
|
||||
|
||||
<!--</RadioGroup>-->
|
||||
<info.hoang8f.android.segmented.SegmentedGroup xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/rgFee"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:checkedButton="@+id/rbNormalFee"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
app:sc_border_width="2dp"
|
||||
app:sc_corner_radius="10dp"
|
||||
app:sc_tint_color="@color/colorPrimary">
|
||||
<info.hoang8f.android.segmented.SegmentedGroup
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:id="@+id/rgFee"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:checkedButton="@+id/rbNormalFee"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
app:sc_border_width="2dp"
|
||||
app:sc_corner_radius="10dp"
|
||||
app:sc_tint_color="@color/colorPrimary">
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/rbMinimalFee"
|
||||
|
|
@ -306,8 +271,8 @@
|
|||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Minimal"
|
||||
android:textSize="18dp"/>
|
||||
android:text="@string/minimal"
|
||||
android:textSize="@dimen/text_size_medium"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/rbNormalFee"
|
||||
|
|
@ -315,8 +280,8 @@
|
|||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Normal"
|
||||
android:textSize="18dp"/>
|
||||
android:text="@string/normal"
|
||||
android:textSize="@dimen/text_size_medium"/>
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/rbMaximumFee"
|
||||
|
|
@ -324,8 +289,9 @@
|
|||
android:layout_width="100dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:text="Priority"
|
||||
android:textSize="18dp"/>
|
||||
android:text="@string/priority"
|
||||
android:textSize="@dimen/text_size_medium"/>
|
||||
|
||||
</info.hoang8f.android.segmented.SegmentedGroup>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
@ -334,21 +300,20 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
|
||||
<EditText
|
||||
android:id="@+id/etFee"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:enabled="false"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:hint="fee"
|
||||
android:hint="@string/fee"
|
||||
android:inputType="numberDecimal"
|
||||
android:padding="12dp"
|
||||
android:textColor="@color/black"
|
||||
android:textColorLink="@android:color/holo_blue_dark"
|
||||
android:textSize="18dp"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
|
|
@ -360,11 +325,11 @@
|
|||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text="mBTC"
|
||||
android:textSize="18dp"
|
||||
android:text="@string/m_btc"
|
||||
android:textSize="@dimen/text_size_medium"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/etFee"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
|
@ -373,15 +338,14 @@
|
|||
android:id="@+id/tvFeeEquivalent"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="8dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:fontFamily="@font/montserrat_light"
|
||||
android:text=" "
|
||||
android:textColor="@android:color/darker_gray"
|
||||
android:textSize="14dp"
|
||||
android:textSize="@dimen/text_size_1_small"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@+id/tvCurrency2"
|
||||
app:layout_constraintTop_toTopOf="parent"/>
|
||||
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:text="000"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
||||
|
|
@ -396,7 +360,7 @@
|
|||
android:backgroundTint="@color/colorPrimary"
|
||||
android:fontFamily="@font/raleway_r"
|
||||
android:includeFontPadding="false"
|
||||
android:text="Send"
|
||||
android:text="@string/send_1"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/text_size_large"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
|
|
@ -417,4 +381,4 @@
|
|||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="@+id/llFee"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
|
@ -562,22 +562,7 @@
|
|||
</RelativeLayout>
|
||||
|
||||
<include
|
||||
android:visibility="invisible"
|
||||
layout="@layout/layout_progress_horizontal"/>
|
||||
|
||||
<!--<ProgressBar-->
|
||||
<!--android:id="@+id/progressBar"-->
|
||||
<!--style="@style/Widget.AppCompat.ProgressBar.Horizontal"-->
|
||||
<!--android:layout_width="0dp"-->
|
||||
<!--android:layout_height="16dp"-->
|
||||
<!--android:layout_marginBottom="36dp"-->
|
||||
<!--android:alpha="0.5"-->
|
||||
<!--android:elevation="1dp"-->
|
||||
<!--android:visibility="invisible"-->
|
||||
<!--app:layout_constraintBottom_toBottomOf="parent"-->
|
||||
<!--app:layout_constraintLeft_toLeftOf="parent"-->
|
||||
<!--app:layout_constraintRight_toRightOf="parent"/>-->
|
||||
|
||||
|
||||
layout="@layout/layout_progress_horizontal"
|
||||
android:visibility="invisible"/>
|
||||
|
||||
</android.support.constraint.ConstraintLayout>
|
||||
|
|
@ -35,6 +35,13 @@
|
|||
<string name="last_withdrawal">Last withdrawal</string>
|
||||
<string name="try_to_scan_again">Try to scan again</string>
|
||||
<string name="cannot_erase_wallet_with_non_zero_balance">Cannot erase wallet with non-zero balance</string>
|
||||
<string name="send_payment">Send payment</string>
|
||||
<string name="from_banknote">From banknote</string>
|
||||
<string name="with_balance">with balance</string>
|
||||
<string name="send_to_wallet">Send to wallet</string>
|
||||
<string name="amount">Amount</string>
|
||||
<string name="including_fee">(including fee)</string>
|
||||
<string name="m_btc">mBTC</string>
|
||||
|
||||
<!-- dialogs -->
|
||||
<string name="device_is_rooted">Your Android device is rooted. Security at risk!</string>
|
||||
|
|
@ -118,15 +125,8 @@
|
|||
<string name="by_tapping_the_card">By tapping the card, you will permanently remove the blockchain wallet. Ensure there will be no further incoming transactions</string>
|
||||
|
||||
<!-- PreparePaymentActivity -->
|
||||
<string name="send_payment">Send payment</string>
|
||||
<string name="from_banknote">From banknote</string>
|
||||
<string name="with_balance">with balance</string>
|
||||
<string name="send_to_wallet">Send to wallet</string>
|
||||
<string name="enter_wallet_address">enter wallet address</string>
|
||||
<string name="amount">Amount</string>
|
||||
<string name="including_fee">(including fee)</string>
|
||||
<string name="enter_amount">enter amount</string>
|
||||
<string name="m_btc">mBTC</string>
|
||||
<string name="verify">Verify</string>
|
||||
|
||||
<!-- RequestPINActivity -->
|
||||
|
|
@ -144,4 +144,14 @@
|
|||
<string name="incorrect_destination_wallet_address">Incorrect destination wallet address</string>
|
||||
<string name="destination_wallet_address_equal_source_address">Destination wallet address equal source address</string>
|
||||
|
||||
<!-- ConfirmPaymentActivity -->
|
||||
<string name="target_wallet_address">target wallet address</string>
|
||||
<string name="payment_amount">payment amount</string>
|
||||
<string name="fee">Fee</string>
|
||||
<string name="send_1">Send</string>
|
||||
|
||||
<string name="minimal">Minimal</string>
|
||||
<string name="normal">Normal</string>
|
||||
<string name="priority">Priority</string>
|
||||
|
||||
</resources>
|
||||
Loading…
Add table
Add a link
Reference in a new issue