ht_dialog_account.xml 6.2 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical">


    <RelativeLayout
        android:layout_width="match_parent"
        style="@style/ht_title_style"
        android:layout_height="wrap_content">

        <TextView
            style="@style/ht_title_text_style"
            android:layout_width="wrap_content"
            android:layout_height="40dp"
            android:text="账号管理" />

        <ImageView
            android:id="@+id/ht_close_img"
            style="@style/ht_close_style"
            android:layout_width="18dp"
            android:layout_height="18dp" />
    </RelativeLayout>

    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        style="@style/ht_content_style"
        android:scrollbars="none">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:divider="@drawable/ht_divider"
            android:gravity="center"
            android:orientation="vertical"
            android:dividerPadding="10dp"
            android:showDividers="middle">

            <LinearLayout
                android:layout_width="match_parent"
                android:gravity="center_vertical"
                android:padding="10dp"
                android:layout_height="45dp">

                <ImageView
                    android:layout_width="20dp"
                    android:layout_margin="2dp"
                    android:layout_height="20dp"
                    android:background="@drawable/ht_icon_bindphone" />

                <TextView
                    android:id="@+id/ht_binding_phone_tv"
                    android:layout_width="wrap_content"
                    android:text="绑定手机"
                    android:layout_weight="1"
                    android:singleLine="true"
                    style="@style/ht_dialog_text_style_1"
                    android:paddingLeft="10dp"
                    android:layout_height="wrap_content" />

                <Button
                    android:id="@+id/ht_binding_phone"
                    android:layout_width="wrap_content"
                    android:textColor="@color/ht_white"
                    android:layout_margin="1dp"
                    android:minWidth="66dp"
                    android:textSize="12sp"
                    android:text="立即绑定"
                    android:textStyle="normal"
                    android:background="@drawable/ht_btn_select_grey"
                    android:paddingLeft="5dp"
                    android:paddingRight="5dp"
                    android:layout_height="match_parent" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:gravity="center_vertical"
                android:padding="10dp"
                android:layout_height="45dp">

                <ImageView
                    android:layout_width="20dp"
                    android:background="@drawable/ht_icon_change_pwd"
                    android:layout_margin="2dp"
                    android:layout_height="20dp" />

                <TextView
                    android:layout_width="wrap_content"
                    android:text="密码管理"
                    android:layout_weight="1"
                    style="@style/ht_dialog_text_style_1"
                    android:paddingLeft="10dp"
                    android:layout_height="wrap_content" />

                <Button
                    android:id="@+id/ht_change_pwd"
                    android:layout_width="wrap_content"
                    android:layout_margin="1dp"
                    android:textColor="@color/ht_white"
                    android:minWidth="66dp"
                    android:textSize="12sp"
                    android:text="修改密码"
                    android:background="@drawable/ht_btn_select_grey"
                    android:textStyle="normal"
                    android:paddingLeft="5dp"
                    android:paddingRight="5dp"
                    android:layout_height="match_parent" />
            </LinearLayout>

            <LinearLayout
                android:layout_width="match_parent"
                android:gravity="center_vertical"
                android:padding="10dp"
                android:visibility="gone"
                android:layout_height="45dp">

                <ImageView
                    android:layout_width="21dp"
                    android:background="@drawable/ht_icon_auth"
                    android:layout_margin="1dp"
                    android:layout_height="21dp" />

                <TextView
                    style="@style/ht_dialog_text_style_1"
                    android:layout_width="wrap_content"
                    android:text="实名认证"
                    android:layout_weight="1"
                    android:paddingLeft="10dp"
                    android:layout_height="wrap_content" />

                <Button
                    android:id="@+id/ht_user_fcm"
                    android:layout_width="wrap_content"
                    android:layout_margin="1dp"
                    android:textColor="@color/ht_white"
                    android:textSize="12sp"
                    android:minWidth="66dp"
                    android:text="立即认证"
                    android:background="@drawable/ht_btn_select_grey"
                    android:textStyle="normal"
                    android:paddingLeft="5dp"
                    android:paddingRight="5dp"
                    android:layout_height="match_parent" />
            </LinearLayout>

            <Button
                android:id="@+id/ht_user_logout_btn"
                style="@style/ht_button_style"
                android:layout_width="match_parent"
                android:layout_height="40dp"
                android:layout_marginTop="20dp"
                android:visibility="invisible"
                android:layout_marginBottom="10dp"
                android:text="切换账户" />
        </LinearLayout>
    </ScrollView>
</LinearLayout>