mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-11-23 10:59:58 +00:00
feat: add copy button to seed phrase backup screen
Allow users to copy their mnemonic phrase to clipboard from the manual backup screen for easier migration to Welati Telegram mini app.
This commit is contained in:
1 parent
03075104b4
commit
eb2c6cda55
10 files changed
+76
-12
No files matched your search
@@ -15,13 +15,32 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="12dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mnemonicCardTitle"
|
||||
style="@style/TextAppearance.NovaFoundation.SemiBold.SubHeadline"
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@color/text_secondary"
|
||||
tools:text="Please do not share with anyone" />
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center_vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/mnemonicCardTitle"
|
||||
style="@style/TextAppearance.NovaFoundation.SemiBold.SubHeadline"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:textColor="@color/text_secondary"
|
||||
tools:text="Please do not share with anyone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/mnemonicCardCopy"
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginStart="8dp"
|
||||
android:background="?attr/selectableItemBackgroundBorderless"
|
||||
android:src="@drawable/ic_copy_outline"
|
||||
app:tint="@color/icon_secondary"
|
||||
android:contentDescription="@string/common_copied" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<io.novafoundation.nova.feature_account_impl.presentation.mnemonic.confirm.view.MnemonicContainerView
|
||||
android:id="@+id/mnemonicCardPhrase"
|
||||
|
||||
Reference in new issue
Block a user