xxy_activity_switch_account.xml 2.6 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/xxy_color_ffffff">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginBottom="@dimen/xxy_dip_100"
        android:orientation="vertical">

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="@dimen/xxy_dip_44">

            <ImageView
                android:id="@+id/xxy_switch_account_back"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:paddingStart="@dimen/xxy_dip_15"
                android:paddingEnd="@dimen/xxy_dip_15"
                android:src="@drawable/xxy_back" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_centerInParent="true"
                android:text="@string/xxy_switch_account"
                android:textColor="@color/xxy_color_333333"
                android:textSize="@dimen/xxy_sp_16"
                android:textStyle="bold" />

        </RelativeLayout>

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/xxy_dip_16"
            android:layout_marginTop="@dimen/xxy_dip_15"
            android:text="@string/xxy_record_account"
            android:textColor="@color/xxy_color_333333"
            android:textSize="@dimen/xxy_sp_14" />

        <ListView
            android:id="@+id/xxy_switch_account_listView"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginStart="@dimen/xxy_dip_15"
            android:layout_marginTop="@dimen/xxy_dip_46"
            android:layout_marginEnd="@dimen/xxy_dip_15"
            android:divider="@null"
            android:dividerHeight="0dp"
            android:scrollbars="none" />

    </LinearLayout>

    <ImageView
        android:id="@+id/xxy_switch_account_create"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        android:layout_marginBottom="@dimen/xxy_dip_40"
        android:src="@drawable/xxy_icon_create_account" />
</RelativeLayout>