<?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"
    android:background="@color/white"
    android:orientation="vertical">

    <include
        android:id="@+id/title"
        layout="@layout/title_white_bar" />

    <LinearLayout
        android:id="@+id/lle1"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:paddingTop="@dimen/dp_30"
        android:visibility="visible"
        app:layout_constraintTop_toBottomOf="@+id/title">

        <TextView
            android:id="@+id/mOrganNameTv"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:padding="@dimen/dp_10"
            android:text="@string/app_name"
            android:textColor="@color/col_313"
            android:textSize="@dimen/dp_19"
            android:textStyle="bold" />

        <ImageView
            android:id="@+id/iv_qrCode"
            android:layout_width="@dimen/dp_154"
            android:layout_height="@dimen/dp_154"
            android:layout_gravity="center"
            android:layout_marginTop="@dimen/dp_20"
            tools:src="@mipmap/ic_logo" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/dp_20"
            android:orientation="horizontal">

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="机构授权码："
                android:textColor="@color/col_313"
                android:textSize="@dimen/dp_17" />

            <TextView
                android:id="@+id/organCodeTv"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:textColor="@color/col_313"
                android:textSize="@dimen/dp_17"
                tools:text="213414" />

        </LinearLayout>

        <TextView
            android:id="@+id/mScanBtn"
            android:layout_width="@dimen/dp_120"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/dp_40"
            android:autoSizeMaxTextSize="@dimen/dp_20"
            android:background="@drawable/shape_btn_select_bg"
            android:gravity="center"
            android:paddingTop="@dimen/dp_8"
            android:paddingBottom="@dimen/dp_8"
            android:text="更换机构"
            android:textColor="@color/white"
            android:textSize="@dimen/dp_16"
            android:textStyle="bold" />

    </LinearLayout>

    <LinearLayout
        android:id="@+id/lle2"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical"
        android:visibility="gone"
        android:paddingTop="@dimen/dp_30"
        app:layout_constraintTop_toBottomOf="@+id/title">

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_24"
            android:layout_marginTop="@dimen/dp_12"
            android:text="加入机构"
            android:textColor="@color/col_313"
            android:textSize="@dimen/dp_18"
            android:textStyle="bold" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_24"
            android:layout_marginTop="@dimen/dp_20"
            android:layout_marginRight="@dimen/dp_24"
            android:background="@drawable/shape_btn_select_bg_inside_white"
            android:orientation="horizontal">

            <EditText
                android:id="@+id/mTvActCode"
                android:layout_width="0dp"
                android:layout_height="wrap_content"
                android:layout_marginLeft="@dimen/dp_24"
                android:layout_weight="1"
                android:background="@null"
                android:hint="请输入机构授权码"
                android:paddingLeft="@dimen/dp_8"
                android:paddingTop="@dimen/dp_14"
                android:paddingBottom="@dimen/dp_14"
                android:textColor="@color/col_3b4"
                android:textColorHint="@color/col_6B6"
                android:textSize="@dimen/dp_16" />

            <LinearLayout
                android:id="@+id/llScan"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:gravity="center_vertical"
                android:orientation="horizontal">

                <ImageView
                    android:layout_width="@dimen/dp_20"
                    android:layout_height="@dimen/dp_20"
                    android:layout_gravity="center_vertical"
                    android:layout_marginRight="@dimen/dp_5"
                    android:background="@mipmap/ic_scan" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginRight="@dimen/dp_20"
                    android:gravity="center_vertical"
                    android:text="去扫码"
                    android:textColor="@color/col_8D0"
                    android:textSize="@dimen/sp_12"
                    android:textStyle="bold" />
            </LinearLayout>

        </LinearLayout>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginLeft="@dimen/dp_24"
            android:layout_marginTop="@dimen/dp_20"
            android:text="* 请扫码机构授权码"
            android:textColor="@color/col_c7c"
            android:textSize="@dimen/dp_15" />

        <TextView
            android:id="@+id/mSubmit"
            android:layout_width="@dimen/dp_130"
            android:layout_height="wrap_content"
            android:layout_gravity="center_horizontal"
            android:layout_marginTop="@dimen/dp_120"
            android:autoSizeMaxTextSize="@dimen/dp_20"
            android:background="@drawable/shape_btn_select_bg"
            android:gravity="center"
            android:paddingTop="@dimen/dp_8"
            android:paddingBottom="@dimen/dp_8"
            android:text="确认"
            android:textColor="@color/white"
            android:textSize="@dimen/dp_18"
            android:textStyle="bold" />

    </LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>