mirror of
https://github.com/pezkuwichain/pezkuwi-wallet-android.git
synced 2026-07-23 00:15:53 +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
180 lines
8.2 KiB
XML
180 lines
8.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout 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="match_parent">
|
|
|
|
<io.novafoundation.nova.common.view.Toolbar
|
|
android:id="@+id/pushWelcomeToolbar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:dividerVisible="false"
|
|
app:homeButtonIcon="@drawable/ic_close"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<ImageView
|
|
android:id="@+id/pushWelcomeImage"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:src="@drawable/ic_bell"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeToolbar" />
|
|
|
|
<TextView
|
|
android:id="@+id/pushWelcomeTitle"
|
|
style="@style/TextAppearance.NovaFoundation.Bold.Title2"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:gravity="center"
|
|
android:paddingHorizontal="16dp"
|
|
android:text="@string/push_welcome_title"
|
|
android:textColor="@color/text_primary"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeImage" />
|
|
|
|
<TextView
|
|
android:id="@+id/pushWelcomeMessage"
|
|
style="@style/TextAppearance.NovaFoundation.Regular.Footnote"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="8dp"
|
|
android:gravity="center"
|
|
android:paddingHorizontal="16dp"
|
|
android:text="@string/push_welcome_message"
|
|
android:textColor="@color/text_secondary"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeTitle" />
|
|
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="40dp"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeMessage">
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:layout_marginHorizontal="48dp"
|
|
app:cardBackgroundColor="@color/notification_preview_3_layer_background"
|
|
app:cardCornerRadius="18dp"
|
|
app:cardElevation="0dp"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:layout_width="match_parent"
|
|
android:layout_height="32dp"
|
|
android:layout_marginHorizontal="32dp"
|
|
android:layout_marginBottom="16dp"
|
|
app:cardBackgroundColor="@color/notification_preview_2_layer_background"
|
|
app:cardCornerRadius="18dp"
|
|
app:cardElevation="8dp"
|
|
app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
android:id="@+id/pushWelcomeTemplate"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginBottom="32dp"
|
|
app:cardBackgroundColor="@color/notification_preview_1_layer_background"
|
|
app:cardCornerRadius="18dp"
|
|
app:cardElevation="16dp"
|
|
app:layout_constraintBottom_toBottomOf="parent">
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:id="@+id/pushWelcomeLogo"
|
|
android:layout_width="16dp"
|
|
android:layout_height="16dp"
|
|
android:layout_marginStart="14dp"
|
|
android:layout_marginTop="12dp"
|
|
android:src="@drawable/ic_pezkuwi_logo"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<TextView
|
|
style="@style/TextAppearance.NovaFoundation.Regular.Caption2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:includeFontPadding="false"
|
|
android:text="@string/push_template_app_name_and_time"
|
|
android:textColor="@color/chip_text"
|
|
app:layout_constraintBottom_toBottomOf="@id/pushWelcomeLogo"
|
|
app:layout_constraintStart_toEndOf="@id/pushWelcomeLogo"
|
|
app:layout_constraintTop_toTopOf="@id/pushWelcomeLogo" />
|
|
|
|
<TextView
|
|
android:id="@+id/pushWelcomeTemplateTitle"
|
|
style="@style/TextAppearance.NovaFoundation.Regular.Footnote"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="14dp"
|
|
android:layout_marginTop="8dp"
|
|
android:text="@string/push_staking_reward_single_account_title"
|
|
android:textColor="@color/text_primary"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeLogo" />
|
|
|
|
<TextView
|
|
android:id="@+id/pushWelcomeTemplateMessage"
|
|
style="@style/TextAppearance.NovaFoundation.Regular.Caption1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="14dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="12dp"
|
|
android:text="@string/push_template_message"
|
|
android:textColor="@color/chip_text"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/pushWelcomeTemplateTitle" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
|
<io.novafoundation.nova.common.view.PrimaryButton
|
|
android:id="@+id/pushWelcomeEnableButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:text="@string/push_welcome_enable_button"
|
|
app:appearance="primary"
|
|
app:layout_constraintBottom_toTopOf="@id/pushWelcomeCancelButton" />
|
|
|
|
<io.novafoundation.nova.common.view.PrimaryButton
|
|
android:id="@+id/pushWelcomeCancelButton"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginHorizontal="16dp"
|
|
android:layout_marginBottom="16dp"
|
|
android:text="@string/common_not_now"
|
|
app:appearance="secondary"
|
|
app:layout_constraintBottom_toTopOf="@id/pushWelcomeTermsAndConditions" />
|
|
|
|
<TextView
|
|
android:id="@+id/pushWelcomeTermsAndConditions"
|
|
style="@style/TextAppearance.NovaFoundation.Body1"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="@dimen/x2"
|
|
android:layout_marginEnd="@dimen/x2"
|
|
android:layout_marginBottom="24dp"
|
|
android:gravity="center"
|
|
android:text="@string/push_welcome_terms_and_conditions"
|
|
android:textColor="@color/text_secondary"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |