xdw_sdk_activity_notips.xml 3.8 KB
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@android:color/transparent"
    android:gravity="center">

    <LinearLayout
        android:id="@+id/xdw_sdk_update_root"
        android:layout_width="350dp"
        android:layout_height="wrap_content"
        android:background="@drawable/xdw_sdk_update_bg"
        android:orientation="vertical"
        android:gravity="center">

        <ImageView
            android:layout_width="76dp"
            android:layout_height="76dp"
            android:background="@drawable/xdw_sdk_update"
            android:layout_gravity="center"
            android:visibility="gone"
            android:layout_margin="20dp" />

        <TextView
            android:id="@+id/xdw_sdk_tv_updateTitle"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_marginTop="5dp"
            android:text="温馨提示"
            android:textColor="#000000"
            android:textStyle="bold"
            android:visibility="gone"
            android:textSize="18sp" />

        <TextView
            android:id="@+id/xdw_sdk_tv_updateContent"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="温馨提示"
            android:layout_marginLeft="30dp"
            android:layout_marginRight="30dp"
            android:layout_marginTop="8dp"
            android:textColor="#333333"
            android:gravity="left"
            android:textSize="14sp" />

        <TextView
            android:id="@+id/xdw_sdk_tv_updateDesc"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginLeft="30dp"
            android:layout_marginRight="30dp"
            android:textColor="#666666"
            android:gravity="left"
            android:textSize="12sp"
            android:text="不授权同意《用户协议》和《隐私政策》将无法进行游戏\n是否确认取消授权并退出游戏"
            android:lineSpacingExtra="10dp"
            android:paddingTop="8dp"
            android:paddingBottom="8dp" />

        <TextView
            android:layout_width="match_parent"
            android:layout_height="0.5dp"
            android:background="#ECECEC" />

        <LinearLayout
            android:id="@+id/ll_btn_root"
            android:layout_width="match_parent"
            android:layout_height="50dp"
            android:orientation="horizontal">

            <Button
                android:id="@+id/xdw_sdk_btn_cancel"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="取消授权"
                android:background="@null"
                android:textSize="14sp"
                android:visibility="visible"
                android:textColor="#666666" />

            <TextView
                android:layout_width="0.5dp"
                android:layout_height="match_parent"
                android:visibility="gone"
                android:background="#cccccc" />

            <Button
                android:id="@+id/xdw_sdk_btn_confirm"
                android:layout_width="wrap_content"
                android:layout_height="match_parent"
                android:layout_weight="1"
                android:text="我再想想"
                android:background="@null"
                android:textColor="#FF650B" />
        </LinearLayout>

    </LinearLayout>
</LinearLayout>