xdw_sdk_activity_tips.xml 4.3 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: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="欢迎下载本游戏,我们非常重视个人信息和隐私保护。请在使用我们的服务前,详细阅读并同意《用户协议》和《隐私政策》。为了提供完整的游戏体验,我们会向您发起申请必须要的权限和信息。您可以选择同意或拒绝权限申请,如果拒绝可能会导致部分游戏体验异常。权限和信息包括
储存权限:目的为了实现账号、图片的缓存和使用,图片保存与分享
电话权限:目的为验证用户身份、实现手机号码登录功能
设备信息:读取Android-ID、硬件序列号、IMEI、手机号、OAID、Mac地址信息目的为保护账号安全"
            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>