<?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"
|
xmlns:tools="http://schemas.android.com/tools"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:orientation="vertical"
|
android:background="@drawable/dialog_background"
|
android:padding="20dp"
|
android:gravity="center"
|
|
>
|
|
<!-- 标题 -->
|
<TextView
|
android:id="@+id/dialogTitle"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="服务协议和隐私政策"
|
android:textSize="20sp"
|
android:textColor="#000000"
|
android:gravity="center"
|
android:paddingBottom="10dp" />
|
|
<View
|
android:id="@+id/divider"
|
android:layout_width="match_parent"
|
android:layout_height="1dp"
|
android:background="#E2E2E2"
|
android:layout_marginTop="5dp"
|
android:layout_marginHorizontal="0dp" />
|
|
|
|
<!-- 内容 -->
|
<TextView
|
android:id="@+id/dialogMessage"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="请您务必阅读、理解「服务协议】和「隐私政策」,我们仅会收集提供服务必要的信息:未经您同意,我们不会与第三方共享与披露您的个人隐私信息。"
|
android:textSize="16sp"
|
android:textColor="#000000"
|
android:gravity="left"
|
android:layout_marginTop="5dp"
|
android:paddingBottom="20dp" />
|
|
|
<TextView
|
android:id="@+id/dialogMessage2"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:text="您可以阅读「服务使用协议」和「隐私保护政策」了解相关信息。如果您同意,请点击「同意,开始使用我们的服务。"
|
android:textSize="16sp"
|
android:textColor="#000000"
|
android:gravity="left"
|
android:paddingBottom="20dp" />
|
|
|
<!-- 按钮 -->
|
<Button
|
android:id="@+id/btnConfirm"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:text="同意"
|
android:textColor="@android:color/white"
|
android:backgroundTint="#000000"
|
android:gravity="center" />
|
|
<!-- <Button-->
|
<!-- android:id="@+id/btnCancel"-->
|
<!-- android:layout_width="200dp"-->
|
<!-- android:layout_height="wrap_content"-->
|
<!-- android:text="不同意"-->
|
<!-- android:textColor="@android:color/white"-->
|
|
<!-- android:backgroundTint="#000000"-->
|
<!-- android:gravity="center" />-->
|
<Button
|
android:id="@+id/btnCancel"
|
android:layout_width="200dp"
|
android:layout_height="wrap_content"
|
android:text="不同意"
|
android:textColor="#999999"
|
android:background="@android:color/transparent"
|
android:gravity="center"
|
android:elevation="0dp"
|
android:stateListAnimator="@null" />
|
|
</LinearLayout>
|