wjc
2023-06-19 a1ac20d9cbe90b566bffe3ed39a6e07700c3248f
app/src/main/res/layout/loading_confirm_input.xml
New file
@@ -0,0 +1,139 @@
<?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"
    android:id="@+id/loading_parent_cl"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    <RelativeLayout
        android:id="@+id/loading_confirmation_rl"
        android:layout_width="@dimen/dp_0"
        android:layout_height="225dp"
        android:layout_marginStart="@dimen/dp_48"
        android:layout_marginEnd="@dimen/dp_48"
        android:background="@drawable/loading_confirmation_bj"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">
        <TextView
            android:id="@+id/loading_confirmation_title_tv"
            android:layout_width="wrap_content"
            android:layout_height="@dimen/dp_25"
            android:layout_alignParentTop="true"
            android:layout_centerInParent="true"
            android:layout_marginStart="@dimen/dp_20"
            android:layout_marginTop="@dimen/dp_25"
            android:layout_marginEnd="@dimen/dp_20"
            android:text="wifi_ssid"
            android:textColor="@color/text_030D1C"
            android:textSize="@dimen/text_18" />
        <androidx.constraintlayout.widget.ConstraintLayout
            android:id="@+id/loading_confirmation_input_cl"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_50"
            android:layout_below="@+id/loading_confirmation_title_tv"
            android:layout_marginStart="@dimen/dp_16"
            android:layout_marginTop="@dimen/dp_34"
            android:layout_marginEnd="@dimen/dp_16"
            android:background="@drawable/loading_confirmation_edit_bj"
            >
            <EditText
                android:id="@+id/loading_confirmation_input_et"
                android:layout_width="0dp"
                android:layout_height="@dimen/dp_23"
                android:layout_marginEnd="@dimen/dp_40"
                android:background="@null"
                android:gravity="center_vertical|start"
                android:hint="@string/home_login_请输入密码"
                android:inputType="textPassword"
                android:lines="1"
                android:maxLines="1"
                android:paddingStart="@dimen/dp_16"
                android:paddingEnd="@dimen/dp_16"
                android:textColor="@color/text_FF000000"
                android:textColorHint="@color/text_25000000"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toStartOf="parent"
                app:layout_constraintTop_toTopOf="parent"
                />
            <ImageView
                android:id="@+id/loading_confirmation_hide_iv"
                android:layout_width="23dp"
                android:layout_height="18dp"
                android:layout_marginEnd="@dimen/dp_16"
                android:src="@drawable/hide"
                app:layout_constraintBottom_toBottomOf="@+id/loading_confirmation_input_et"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintTop_toTopOf="@+id/loading_confirmation_input_et" />
            <!--加大点击事件-->
            <TextView
                android:id="@+id/loading_confirmation_click_tv"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                app:layout_constraintBottom_toBottomOf="parent"
                app:layout_constraintEnd_toEndOf="parent"
                app:layout_constraintStart_toEndOf="@+id/loading_confirmation_input_et"
                app:layout_constraintTop_toTopOf="parent" />
        </androidx.constraintlayout.widget.ConstraintLayout>
        <LinearLayout
            android:id="@+id/dialog_confirm_bottom_line_ly"
            android:layout_width="match_parent"
            android:layout_height="@dimen/dp_52"
            android:layout_alignParentBottom="true"
            android:orientation="horizontal">
            <LinearLayout
                android:id="@+id/dialog_cancel_ly"
                android:layout_width="@dimen/dp_0"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center">
                <TextView
                    android:id="@+id/dialog_cancel_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/loading_取消"
                    android:textColor="@color/text_7C8590"
                    android:textSize="@dimen/text_18" />
            </LinearLayout>
            <View
                android:layout_width="0.5dp"
                android:layout_height="@dimen/dp_23"
                android:layout_gravity="center"
                android:background="@color/text_E1E1E1" />
            <LinearLayout
                android:id="@+id/dialog_confirm_ly"
                android:layout_width="@dimen/dp_0"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:gravity="center">
                <TextView
                    android:id="@+id/dialog_confirm_tv"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:text="@string/loading_确认"
                    android:textColor="@color/text_FF245EC3"
                    android:textSize="@dimen/text_18" />
            </LinearLayout>
        </LinearLayout>
    </RelativeLayout>
</androidx.constraintlayout.widget.ConstraintLayout>