wan_dialog_exit_app.xml 2.7 KB
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    android:background="@android:color/transparent">

    <LinearLayout
        android:layout_width="@dimen/px_610"
        android:layout_height="wrap_content"
        android:layout_centerInParent="true"
        android:background="@drawable/hn669_shape_globle_banckground"
        android:orientation="vertical">

        <TextView
            android:layout_width="match_parent"
            android:layout_height="@dimen/px_100"
            android:layout_marginLeft="@dimen/px_40"
            android:gravity="center_vertical"
            android:text="@string/hnssn_finish_exitpop"
            android:textColor="@color/fbsdk_color_white"
            android:textSize="@dimen/px_36" />

        <View style="@style/HN669VerticalSpliteLine" />

        <ImageView
            android:id="@+id/dialog_exitapp_content_img"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_marginTop="@dimen/px_20"
            android:layout_marginLeft="@dimen/px_40"
            android:layout_marginRight="@dimen/px_40"
            android:layout_marginBottom="@dimen/px_40"
            android:scaleType="fitXY"
            android:visibility="gone"
            android:src="@drawable/wan_dialog_advertisement_image" />

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="@dimen/px_20"
            android:layout_marginBottom="@dimen/px_40"
            android:layout_marginLeft="@dimen/px_40"
            android:layout_marginRight="@dimen/px_40"
            android:orientation="horizontal">

            <Button
                android:id="@+id/dialog_exitapp_cancel_btn"
                style="@style/HN669GlobleButton"
                android:layout_marginRight="@dimen/px_10"
                android:textColor="@drawable/hn669_selector_cancel_button_textcolor"
                android:layout_weight="1"
                android:background="@drawable/hn669_selector_cancel_button_background"
                android:text="@string/hnssn_prompt_cancel" />

            <Button
                android:id="@+id/dialog_exitapp_confim_btn"
                style="@style/HN669GlobleButton"
                android:layout_marginLeft="@dimen/px_10"
                android:layout_weight="1"
                android:text="@string/hnssn_prompt_confirm" />
        </LinearLayout>
    </LinearLayout>
</RelativeLayout>