Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
YDL-Component-Medical
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨凯
YDL-Component-Medical
Commits
ed6ccd25
Commit
ed6ccd25
authored
Jun 06, 2022
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:心理咨询隐私政策页修改
parent
5a7a0355
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
77 additions
and
79 deletions
+77
-79
config.gradle
config.gradle
+2
-2
SecretDescriptionDialog.kt
m-user/src/main/java/com/yidianling/user/widget/SecretDescriptionDialog.kt
+7
-0
user_dialog_secret.xml
m-user/src/main/res/layout/user_dialog_secret.xml
+68
-77
No files found.
config.gradle
View file @
ed6ccd25
...
...
@@ -8,7 +8,7 @@ ext {
"m-confide"
:
"0.0.50.16"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.
38
"
,
"m-user"
:
"0.0.62.
42
"
,
"m-home"
:
"0.0.23.79"
,
"m-im"
:
"0.0.21.51"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
@@ -97,7 +97,7 @@ ext {
"m-confide"
:
"0.0.50.16"
,
"m-consultant"
:
"0.0.60.27"
,
"m-fm"
:
"0.0.30.09"
,
"m-user"
:
"0.0.62.
38
"
,
"m-user"
:
"0.0.62.
42
"
,
"m-home"
:
"0.0.23.79"
,
"m-im"
:
"0.0.21.51"
,
"m-dynamic"
:
"0.0.7.74"
,
...
...
m-user/src/main/java/com/yidianling/user/widget/SecretDescriptionDialog.kt
View file @
ed6ccd25
...
...
@@ -15,7 +15,9 @@ import android.view.View
import
android.view.WindowManager
import
com.ydl.ydlcommon.utils.SharedPreferencesEditor
import
com.ydl.ydlcommon.utils.Utils
import
com.ydl.ydlcommon.utils.actionutil.ActionCountUtils
import
com.yidianling.user.R
import
com.yidianling.user.constants.UserBIConstants
import
com.yidianling.user.ui.login.H5Activity
import
kotlinx.android.synthetic.main.user_dialog_secret.*
...
...
@@ -40,10 +42,15 @@ class SecretDescriptionDialog(
user_secret_desc
.
text
=
Html
.
fromHtml
(
mSecretProtocolString
)
user_secret_no_agree
.
setOnClickListener
{
ActionCountUtils
.
count
(
UserBIConstants
.
PRIVACY_AUTHORIZATION_TWO_CLICK
,
"拒绝"
)
listener
?.
onCancel
()
}
user_secret_agree
.
setOnClickListener
{
ActionCountUtils
.
count
(
UserBIConstants
.
PRIVACY_AUTHORIZATION_CLICK
,
"同意"
)
agreeAction
()
}
...
...
m-user/src/main/res/layout/user_dialog_secret.xml
View file @
ed6ccd25
<?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
xmlns:tools=
"http://schemas.android.com/tools"
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"
/>
android:orientation=
"vertical"
>
<RelativeLayout
android:id=
"@+id/user_top_rl"
<LinearLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
>
android:layout_marginLeft=
"34dp"
android:layout_marginRight=
"34dp"
android:background=
"@drawable/user_secret_dialog_bg"
android:gravity=
"center"
android:orientation=
"vertical"
>
<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:layout_marginTop=
"@dimen/platform_dp_25"
android:gravity=
"center"
android:text=
"壹点灵服务使用协议及隐私\n
条款概要"
android:textColor=
"#242424"
android:textSize=
"28d
p"
android:textStyle=
"bold"
/>
android:textSize=
"18s
p"
android:textStyle=
"bold"
/>
</RelativeLayout>
</RelativeLayout>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"300dp"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"194dp"
>
<ScrollView
android:layout_width=
"match_parent"
android:layout_height=
"194dp"
android:scrollbars=
"none"
>
android:layout_height=
"300dp"
android:scrollbars=
"none"
>
<RelativeLayout
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content
"
android:layout_height=
"300dp
"
android:layout_marginLeft=
"25dp"
android:layout_marginRight=
"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"
/>
android:textColor=
"#666666"
android:textSize=
"15sp"
tools:text=
"尊敬的用户,应最新的法律法规及监管政策要求,向您推送以下说明\n
1、您可通过《隐私保护政策》了解我们
会收集哪些个人信息,如何使用,储
存信息等事项;\n
2、我们会采取严格的数据安全保障措施保护您的信息安全;\n
3、点击“同意”,我们将严格按照《隐私保护政策》为您提供服务;
"
/>
</RelativeLayout>
</ScrollView>
<View
android:background=
"@drawable/user_secret_dectription_bg"
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
android:layout_alignParentBottom=
"true"
android:layout_width=
"match_parent"
android:layout_height=
"30dp"
/>
android:background=
"@drawable/user_secret_dectription_bg"
/>
</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_marginTop=
"15dp"
android:layout_marginRight=
"25dp"
android:text=
"阅读完整版《用户使用协议》、
《隐私保护政策》"
android:text=
"阅读完整版《用户使用协议》、\n
《隐私保护政策》"
android:textColor=
"#444444"
android:textSize=
"14dp"
/>
android:textSize=
"15sp"
/>
<TextView
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"25dp"
android:layout_marginTop=
"@dimen/platform_dp_3"
android:layout_marginRight=
"25dp"
android:text=
"了解全部的条款内容"
android:textColor=
"#666666"
android:textSize=
"15sp"
>
</TextView>
<!--<TextView-->
<!--android:layout_width="wrap_content"-->
<!--android:layout_height="wrap_content"-->
...
...
@@ -134,38 +125,39 @@
<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_marginTop=
"30dp"
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"
android:text=
"同意"
android:textColor=
"#FFFFFF"
android:textSize=
"16dp"
/>
android:layout_marginBottom=
"24dp"
android:background=
"#ffffff"
android:orientation=
"horizontal"
>
<TextView
android:id=
"@+id/user_secret_no_agree"
android:layout_width=
"
match_parent
"
android:layout_height=
"
wrap_content
"
android:layout_width=
"
0dp
"
android:layout_height=
"
40dp
"
android:layout_gravity=
"center_horizontal"
android:layout_marginTop=
"10dp"
android:layout_weight=
"1"
android:background=
"@drawable/user_secret_left_btn_bg"
android:gravity=
"center"
android:text=
"拒绝"
android:textColor=
"#999999"
android:textSize=
"16dp"
/>
<TextView
android:id=
"@+id/user_secret_agree"
android:layout_width=
"0dp"
android:layout_height=
"40dp"
android:layout_marginLeft=
"@dimen/platform_dp_10"
android:layout_weight=
"1"
android:background=
"@drawable/user_secret_right_btn_bg"
android:gravity=
"center"
android:text=
"同意"
android:textColor=
"#FFFFFF"
android:textSize=
"16dp"
android:textStyle=
"bold"
/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment