fengche_dialog_help.xml 7.2 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="379dp"
    android:layout_height="284dp"
    android:layout_gravity="center"
    android:background="@drawable/fengche_shape_exit_bg"
    android:gravity="center_horizontal"
    android:orientation="vertical">

    <RelativeLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
        android:padding="18dp">

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="12dp"
            android:gravity="center"
            android:orientation="horizontal">

            <ImageView
                android:layout_width="134dp"
                android:layout_height="35dp"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_login_title" />

            <View
                android:layout_width="1px"
                android:layout_height="20dp"
                android:layout_marginStart="10dp"
                android:background="#838281" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginStart="10dp"
                android:text="@string/fengche_help_title"
                android:textColor="#838281"
                android:textSize="15sp" />
        </LinearLayout>


        <ImageButton
            android:id="@+id/fengche_sdk_help_close"
            android:layout_width="30dp"
            android:layout_height="30dp"
            android:layout_alignParentEnd="true"
            android:layout_marginEnd="17dp"
            android:background="@android:color/transparent"
            android:contentDescription="@string/fengche_image_content_des"
            android:padding="5dp"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_sdk_login_close_btn" />
    </RelativeLayout>

    <LinearLayout
        android:id="@+id/fengche_help_home_url_layout"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:gravity="center"
        android:orientation="horizontal">

        <ImageView
            android:layout_width="48dp"
            android:layout_height="46dp"
            android:background="@android:color/transparent"
            android:clickable="false"
            android:contentDescription="@string/fengche_image_content_des"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_sdk_help_logo" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="10dp"
            android:clickable="false"
            android:gravity="center"
            android:orientation="vertical">

            <ImageView
                android:layout_width="124dp"
                android:layout_height="29dp"
                android:background="@android:color/transparent"
                android:clickable="false"
                android:contentDescription="@string/fengche_image_content_des"
                android:scaleType="centerInside"
                android:src="@drawable/fengche_sdk_help_title" />

            <TextView
                android:layout_width="124dp"
                android:layout_height="wrap_content"
                android:clickable="false"
                android:gravity="center"
                android:text="@string/fengche_help_web"
                android:textColor="@android:color/black"
                android:textSize="16sp" />
        </LinearLayout>
    </LinearLayout>

    <LinearLayout
        android:id="@+id/fengche_help_qq_layout"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginTop="20dp"
        android:gravity="center"
        android:orientation="horizontal">

        <ImageView
            android:layout_width="39dp"
            android:layout_height="46dp"
            android:background="@android:color/transparent"
            android:clickable="false"
            android:contentDescription="@string/fengche_image_content_des"
            android:scaleType="centerInside"
            android:src="@drawable/fengche_help_qq_logo" />

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginStart="23dp"
            android:layout_marginEnd="23dp"
            android:clickable="false"
            android:gravity="center"
            android:orientation="vertical">

            <TextView
                android:id="@+id/fengche_help_qq_title"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:background="@android:color/transparent"
                android:clickable="false"
                android:textColor="@android:color/black"
                android:textSize="16sp" />

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:clickable="false"
                android:text="@string/fengche_help_qq_hint"
                android:textColor="@android:color/black"
                android:textSize="16sp" />
        </LinearLayout>
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="30dp"
        android:orientation="horizontal">

        <Button
            android:id="@+id/fengche_reg_agr_usr"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:background="@android:color/transparent"
            android:padding="4dp"
            android:text="@string/fengche_reg_agr_usr"
            android:textColor="#23c7d0"
            android:textSize="13sp" />

        <Button
            android:id="@+id/fengche_reg_agr_usr_private"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:background="@android:color/transparent"
            android:padding="4dp"
            android:text="@string/fengche_reg_agr_usr_private"
            android:textColor="#23c7d0"
            android:textSize="13sp" />

        <Button
            android:id="@+id/fengche_reg_agr_usr_private_guid"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:background="@android:color/transparent"
            android:padding="4dp"
            android:text="@string/fengche_reg_agr_usr_private_guid"
            android:textColor="#23c7d0"
            android:textSize="13sp" />
    </LinearLayout>
</LinearLayout>