mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-27 13:55:42 +00:00
a294aa1a6b
Security hardened release: - Code obfuscation enabled (minifyEnabled=true, shrinkResources=true) - Sensitive files excluded (google-services.json, keystores) - Branch.io key moved to BuildConfig placeholder - Updated dependencies: OkHttp 4.12.0, Gson 2.10.1, BouncyCastle 1.77 - Comprehensive ProGuard rules for crypto wallet - Navigation 2.7.7, Lifecycle 2.7.0, ConstraintLayout 2.1.4
98 lines
4.0 KiB
XML
98 lines
4.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="80dp"
|
|
tools:background="@color/secondary_screen_background"
|
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
|
|
|
<TextView
|
|
android:id="@+id/stakingTitle"
|
|
style="@style/TextAppearance.NovaFoundation.Body2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:includeFontPadding="false"
|
|
android:text="@string/common_amount"
|
|
android:textColor="@color/text_secondary"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
android:id="@+id/stakingAssetPriceAmount"
|
|
style="@style/TextAppearance.NovaFoundation.Body2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:textColor="@color/text_secondary"
|
|
app:layout_constraintBottom_toTopOf="@+id/stakingAmountInput"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
tools:text="$418,9" />
|
|
|
|
<ImageView
|
|
android:id="@+id/stakingAssetImage"
|
|
android:layout_width="18dp"
|
|
android:layout_height="18dp"
|
|
android:layout_marginStart="16dp"
|
|
app:tint="@color/icon_primary"
|
|
app:layout_constraintBottom_toBottomOf="@id/stakingAssetToken"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/stakingAssetToken"
|
|
tools:src="@drawable/ic_token_ksm" />
|
|
|
|
<TextView
|
|
android:id="@+id/stakingAssetToken"
|
|
style="@style/TextAppearance.NovaFoundation.Header4"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="6dp"
|
|
android:layout_marginTop="9dp"
|
|
android:includeFontPadding="false"
|
|
android:textColor="@color/text_primary"
|
|
app:layout_constraintStart_toEndOf="@id/stakingAssetImage"
|
|
app:layout_constraintTop_toBottomOf="@id/stakingTitle"
|
|
tools:text="KSM" />
|
|
|
|
<EditText
|
|
android:id="@+id/stakingAmountInput"
|
|
style="@style/TextAppearance.NovaFoundation.Header4"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:background="@null"
|
|
android:gravity="end"
|
|
android:hint="0"
|
|
android:inputType="numberDecimal"
|
|
android:paddingBottom="27dp"
|
|
android:textColor="@color/text_primary"
|
|
android:textColorHint="@color/hint_text"
|
|
android:textCursorDrawable="@null"
|
|
android:textStyle="bold"
|
|
app:layout_constraintBaseline_toBaselineOf="@id/stakingAssetToken"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintHorizontal_bias="1.0"
|
|
app:layout_constraintStart_toEndOf="@id/stakingAssetToken" />
|
|
|
|
<TextView
|
|
android:id="@+id/stakingAssetBalance"
|
|
style="@style/TextAppearance.NovaFoundation.Body2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="5dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:includeFontPadding="false"
|
|
android:textColor="@color/text_secondary"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/stakingAssetToken"
|
|
app:layout_goneMarginTop="8dp"
|
|
tools:text="Balance: 100 KSM" />
|
|
|
|
</merge> |