attention_view.xml 5.03 KB
<?xml version="1.0" encoding="utf-8"?>
<androidx.appcompat.widget.LinearLayoutCompat 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="wrap_content"
    android:layout_marginTop="@dimen/dp_10"
    android:gravity="center">

    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content">

        <androidx.appcompat.widget.AppCompatImageView
            android:layout_width="@dimen/dp_141"
            android:layout_height="@dimen/dp_149"
            android:layout_marginTop="@dimen/dp_3"
            android:src="@drawable/erweimadi" />

        <androidx.appcompat.widget.AppCompatImageView
            android:layout_width="@dimen/dp_18"
            android:layout_height="@dimen/dp_14"
            android:layout_marginStart="@dimen/dp_7"
            android:src="@drawable/attention_1" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="@dimen/dp_10"
            android:gravity="center"
            android:orientation="vertical">

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/first_step_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_11" />

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dp_6"
                android:text="@string/scan_qr_code_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_9" />

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dp_4"
                android:text="@string/latest_news_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_9" />

            <androidx.appcompat.widget.AppCompatImageView
                android:layout_width="@dimen/dp_81"
                android:layout_height="@dimen/dp_81"
                android:layout_marginTop="@dimen/dp_8"
                android:src="@drawable/qrcode" />

        </LinearLayout>
    </RelativeLayout>


    <RelativeLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginStart="@dimen/dp_9">

        <androidx.appcompat.widget.AppCompatImageView
            android:layout_width="@dimen/dp_242"
            android:layout_height="@dimen/dp_149"
            android:layout_marginTop="@dimen/dp_3"
            android:scaleType="fitXY"
            android:src="@drawable/erweimadi" />

        <androidx.appcompat.widget.AppCompatImageView
            android:layout_width="@dimen/dp_18"
            android:layout_height="@dimen/dp_14"
            android:layout_marginStart="@dimen/dp_7"
            android:src="@drawable/attention_2" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_marginTop="@dimen/dp_10"
            android:gravity="center"
            android:orientation="vertical">

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/second_step_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_11" />

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dp_6"
                android:text="@string/open_accounts_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_9" />

            <androidx.appcompat.widget.AppCompatTextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginTop="@dimen/dp_4"
                android:text="@string/scan_qr_bind_text"
                android:textColor="@color/white"
                android:textSize="@dimen/sp_9" />

            <androidx.appcompat.widget.AppCompatImageView
                android:id="@+id/iv_qr"
                android:layout_width="@dimen/dp_81"
                android:layout_height="@dimen/dp_81"
                android:layout_marginTop="@dimen/dp_8" />
        </LinearLayout>

    </RelativeLayout>
</androidx.appcompat.widget.LinearLayoutCompat>