Files
AndroidJava/dash-wallet/wallet/res/layout/activity_onboard_from_invite.xml
coco 7846a45f2c a
2026-07-03 15:47:27 +08:00

184 lines
7.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:orientation="vertical">
<ScrollView
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:orientation="vertical"
android:padding="16dp">
<TextView
android:id="@+id/subtitle"
style="@style/Headline6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/onboard_from_invite_subtitle" />
<TextView
android:id="@+id/title"
style="@style/Headline4"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:text="@string/onboard_from_invite_title" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="32dp"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon1"
android:layout_width="72dp"
android:layout_height="72dp"
app:srcCompat="@drawable/ic_onboard_from_invite_1"
tools:ignore="ContentDescription" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/step1"
style="@style/Subtitle1.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawablePadding="8dp"
android:text="@string/onboard_from_invite_step1"
app:drawableEndCompat="@drawable/ic_check_circle_green" />
<TextView
android:id="@+id/title1"
style="@style/Headline6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/onboard_from_invite_step1_title" />
</LinearLayout>
</LinearLayout>
<FrameLayout
android:layout_width="1dp"
android:layout_height="72dp"
android:layout_marginStart="36dp"
android:background="@color/dash_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon2"
android:layout_width="72dp"
android:layout_height="72dp"
app:srcCompat="@drawable/ic_onboard_from_invite_2_disabled"
tools:ignore="ContentDescription" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/step2"
style="@style/Subtitle1.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawablePadding="8dp"
android:text="@string/onboard_from_invite_step2"
app:drawableEndCompat="@drawable/ic_check_circle_green" />
<TextView
android:id="@+id/title2"
style="@style/Headline6.Secondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/onboard_from_invite_step2_title" />
</LinearLayout>
</LinearLayout>
<FrameLayout
android:layout_width="1dp"
android:layout_height="72dp"
android:layout_marginStart="36dp"
android:background="@color/dash_gray" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<ImageView
android:id="@+id/icon3"
android:layout_width="72dp"
android:layout_height="72dp"
app:srcCompat="@drawable/ic_onboard_from_invite_3_disabled"
tools:ignore="ContentDescription" />
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginStart="8dp"
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/step3"
style="@style/Subtitle1.Tertiary"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:drawablePadding="8dp"
android:text="@string/onboard_from_invite_step3"
app:drawableEndCompat="@drawable/ic_check_circle_green" />
<TextView
android:id="@+id/title3"
style="@style/Headline6.Secondary"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/onboard_from_invite_step3_title" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
</ScrollView>
<Button
android:id="@+id/continue_button"
style="@style/Button.Primary.Large.Blue"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginStart="15dp"
android:layout_marginTop="15dp"
android:layout_marginEnd="15dp"
android:layout_marginBottom="25dp"
android:text="@string/invitation_accept_continue" />
</LinearLayout>