|
|
|
@ -100,38 +100,6 @@ class PrevDialog(context: Context, private var agree: () -> Unit, private var gi
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}, 79, 85, Spanned.SPAN_INCLUSIVE_INCLUSIVE)
|
|
|
|
|
/*span.setSpan(object : ClickableSpan() {
|
|
|
|
|
override fun onClick(widget: View) {
|
|
|
|
|
val bundle = Bundle()
|
|
|
|
|
bundle.putString("title", "隐私政策")
|
|
|
|
|
bundle.putString("url", "https://auprty.com/app/static/app/privacy.html")
|
|
|
|
|
RouteManager.goAct(ARouterUrl.AGREEMNT_READ_WEB_ACT, bundle)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override fun updateDrawState(ds: TextPaint) {
|
|
|
|
|
super.updateDrawState(ds)
|
|
|
|
|
ds.color = txtCol
|
|
|
|
|
ds.isUnderlineText = false
|
|
|
|
|
ds.clearShadowLayer()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}, 92, 98, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)
|
|
|
|
|
span.setSpan(object : ClickableSpan() {
|
|
|
|
|
override fun onClick(widget: View) {
|
|
|
|
|
val bundle = Bundle()
|
|
|
|
|
bundle.putString("title", "中健三六五健康 APP 权限列表")
|
|
|
|
|
bundle.putString("url", "https://auprty.com/app/static/app/permission.html")
|
|
|
|
|
RouteManager.goAct(ARouterUrl.AGREEMNT_READ_WEB_ACT, bundle)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
override fun updateDrawState(ds: TextPaint) {
|
|
|
|
|
super.updateDrawState(ds)
|
|
|
|
|
ds.color = txtCol
|
|
|
|
|
ds.isUnderlineText = false
|
|
|
|
|
ds.clearShadowLayer()
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}, 99, 114, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE)*/
|
|
|
|
|
|
|
|
|
|
binding.mContent.text = span
|
|
|
|
|
binding.mContent.highlightColor = Color.TRANSPARENT
|
|
|
|
|