user_dialog_secret.xml 7.5 KB
Newer Older
严久程 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              xmlns:tools="http://schemas.android.com/tools"
              xmlns:myapp="http://schemas.android.com/apk/res-auto"
              android:layout_width="match_parent" android:layout_height="wrap_content"
              android:orientation="vertical"
>

    <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content"
                  android:orientation="vertical"
                  android:layout_marginLeft="34dp"
                  android:layout_marginRight="34dp"
                  android:background="@drawable/user_secret_dialog_bg">


        <RelativeLayout android:layout_width="match_parent" android:layout_height="wrap_content">
            <com.ydl.ydlcommon.view.widgets.RoundImageView
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    myapp:pa_borderRadius="12dp"
                    myapp:pa_type="pa_round"
                    android:adjustViewBounds="true"
                    android:src="@drawable/user_secret_top_bg"/>

            <RelativeLayout
                    android:id="@+id/user_top_rl"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="10dp">

                <TextView
                        android:id="@+id/secrey_title"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="25dp"
                        android:layout_marginTop="40dp"
                        android:text="隐私政策"
                        android:textColor="#242424"
                        android:textSize="28dp"
                        android:textStyle="bold"/>

                <TextView
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_below="@+id/secrey_title"
                        android:layout_marginLeft="25dp"
                        android:text="及使用协议说明"
                        android:textColor="#242424"
                        android:textSize="28dp"
                        android:textStyle="bold"/>

            </RelativeLayout>
        </RelativeLayout>

        <RelativeLayout android:layout_width="match_parent" android:layout_height="194dp">
            <ScrollView
                    android:layout_width="match_parent"
                    android:layout_height="194dp"
                    android:scrollbars="none"
            >

                <RelativeLayout
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginLeft="25dp"
                        android:layout_marginRight="25dp"
                >
                    <TextView
                            android:id="@+id/user_secret_desc"
                            android:layout_width="match_parent"
                            android:layout_height="wrap_content"
                            android:layout_marginTop="30dp"
                            android:lineHeight="20dp"
                            tools:text="感谢您信任并使用壹点灵APP,\n
我们深知个人隐私的重要性,为了您更好的使用本APP,希望您着重关注:\n\n1. 为向您提供交易相关基本功能,我们会收集、使用必要的信息;\n
2. 基于您的明示授权,我们可能会获取您的位置(为您提供附近的咨询师等)、设备号信息(以保障您账号与交易安全)等信息,您有权拒绝或取消授权;\n
3. 我们会采业界先进的安全措施保护您的信息安全;\n
4. 未经您同意,我们不会从第三方处获取、共享或向其提供您的信息;\n
5. 您可以查询、更正、删除您的个人信息。"
                            android:textColor="#444444"
                            android:textSize="14dp"/>

                </RelativeLayout>
            </ScrollView>
            <View
                    android:background="@drawable/user_secret_dectription_bg"
                    android:layout_alignParentBottom="true"
                    android:layout_width="match_parent" android:layout_height="30dp"/>

        </RelativeLayout>


        <TextView
                android:id="@+id/tv_content"
                android:layout_marginTop="15dp"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginLeft="25dp"
                android:layout_marginRight="25dp"
                android:text="阅读完整版《用户使用协议》、《隐私保护政策》"
                android:textColor="#444444"
                android:textSize="14dp"/>

        <!--<TextView-->
        <!--android:layout_width="wrap_content"-->
        <!--android:layout_height="wrap_content"-->
        <!--android:text="阅读完整版"-->
        <!--android:textColor="#444444"-->
        <!--android:textSize="14dp"/>-->

        <!--<TextView-->
        <!--android:id="@+id/user_use_btn"-->
        <!--android:layout_width="wrap_content"-->
        <!--android:layout_height="wrap_content"-->
        <!--android:text="《用户使用协议》"-->
        <!--android:textColor="#159CEF"-->
        <!--android:textSize="14dp"/>-->

        <!--<TextView-->
        <!--android:layout_width="wrap_content"-->
        <!--android:layout_height="wrap_content"-->
        <!--android:text="、"-->
        <!--android:textColor="#444444"-->
        <!--android:textSize="14dp"/>-->

        <!--<TextView-->
        <!--android:id="@+id/user_secret_protect_btn"-->
        <!--android:layout_width="wrap_content"-->
        <!--android:layout_height="wrap_content"-->
        <!--android:text="《隐私保护政策》"-->
        <!--android:textColor="#159CEF"-->
        <!--android:textSize="14dp"/>-->

        <LinearLayout
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="15dp"
                android:layout_marginBottom="24dp"
                android:layout_alignParentBottom="true"
                android:layout_marginLeft="25dp"
                android:layout_marginRight="25dp"
                android:orientation="vertical"
                android:background="#ffffff">

            <TextView
                    android:id="@+id/user_secret_agree"
                    android:layout_width="match_parent"
                    android:layout_height="44dp"
                    android:layout_weight="1"
                    android:background="@drawable/user_secret_right_btn_bg"
                    android:gravity="center"
152
                    android:text="同意"
严久程 committed
153 154 155 156
                    android:textColor="#FFFFFF"
                    android:textSize="16dp"/>

            <TextView
157 158 159 160 161 162 163 164 165 166
                android:id="@+id/user_secret_no_agree"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="center_horizontal"
                android:layout_marginTop="10dp"
                android:layout_weight="1"
                android:gravity="center"
                android:text="拒绝"
                android:textColor="#999999"
                android:textSize="16dp" />
严久程 committed
167 168 169 170 171

        </LinearLayout>

    </LinearLayout>
</LinearLayout>