Updated on 2026-08-14

This commit is contained in:
Tangem 2022-06-01 21:53:27 +03:00
parent d5813a3ea6
commit 973bf9a6e9
3 changed files with 26 additions and 0 deletions

View file

@ -115,6 +115,8 @@ class WalletAdapter
wallet.fiatRateString ?: ""
}
badgeCustomBalance.isVisible = isCustomCurrency
cardWallet.setOnClickListener {
store.dispatch(WalletAction.MultiWallet.SelectWallet(wallet))
}

View file

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="oval">
<size
android:width="12dp"
android:height="12dp" />
<stroke
android:width="2dp"
android:color="@color/white" />
<solid android:color="@color/darkGray1" />
</shape>

View file

@ -47,6 +47,15 @@
app:layout_constraintTop_toTopOf="@id/iv_currency"
tools:text="J" />
<View
android:id="@+id/badge_custom_balance"
android:layout_width="12dp"
android:layout_height="12dp"
android:background="@drawable/shape_badge_custom_currency"
android:visibility="gone"
app:layout_constraintTop_toTopOf="@id/iv_currency"
app:layout_constraintEnd_toEndOf="@id/iv_currency" />
<include
layout="@layout/item_currency_wallet_content"
android:id="@+id/l_content"