Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ShenghuoquanBusiness
Project
Project
Details
Activity
Releases
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
bp
ShenghuoquanBusiness
Commits
4fbede89
Commit
4fbede89
authored
Jun 16, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update 生活号认证流程首页、生活号个人认证页、生活号企业认证页TopBar
parent
5ab3c176
Changes
11
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
432 additions
and
473 deletions
+432
-473
LifeAccountAuthActivity.kt
...enghuoquan/newscontent/ui/auth/LifeAccountAuthActivity.kt
+5
-9
LifeAccountEnterpriseAuthActivity.kt
.../newscontent/ui/auth/LifeAccountEnterpriseAuthActivity.kt
+297
-295
LifeAccountPersonalAuthActivity.kt
...an/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
+1
-3
LifeAccountModifyNameActivity.kt
...an/newscontent/ui/center/LifeAccountModifyNameActivity.kt
+76
-76
MerchantCenterActivity.kt
...nghuoquan/newscontent/ui/center/MerchantCenterActivity.kt
+1
-1
CommonTopBarView.kt
...idian/shenghuoquan/newscontent/widget/CommonTopBarView.kt
+31
-7
activity_life_account_auth.xml
...ontent/src/main/res/layout/activity_life_account_auth.xml
+7
-8
activity_life_account_enterprise_auth.xml
...main/res/layout/activity_life_account_enterprise_auth.xml
+7
-8
activity_life_account_personal_auth.xml
...c/main/res/layout/activity_life_account_personal_auth.xml
+7
-8
layout_common_header.xml
.../newscontent/src/main/res/layout/layout_common_header.xml
+0
-30
top_bar.xml
Components/newscontent/src/main/res/layout/top_bar.xml
+0
-28
No files found.
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountAuthActivity.kt
View file @
4fbede89
...
@@ -38,9 +38,8 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
...
@@ -38,9 +38,8 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
}
}
private
fun
initView
()
{
private
fun
initView
()
{
viewBind
.
layoutCommonHeader
.
ivBack
.
visibility
=
View
.
GONE
// 此页面默认不可返回
viewBind
.
bvTopBar
.
setBackVisibility
(
false
)
viewBind
.
layoutCommonHeader
.
tvTitle
.
text
=
resources
.
getString
(
R
.
string
.
join_life_circle
)
viewBind
.
viewPersonalAuth
.
setData
(
viewBind
.
viewPersonalAuth
.
setData
(
resources
.
getString
(
R
.
string
.
personal_auth
),
resources
.
getString
(
R
.
string
.
personal_auth
),
resources
.
getString
(
R
.
string
.
personal_auth_condition
),
resources
.
getString
(
R
.
string
.
personal_auth_condition
),
...
@@ -54,15 +53,15 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
...
@@ -54,15 +53,15 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
)
)
if
(
intent
.
getSerializableExtra
(
XRouterPathConstants
.
ParamsKey
)
!=
null
)
{
if
(
intent
.
getSerializableExtra
(
XRouterPathConstants
.
ParamsKey
)
!=
null
)
{
val
paramsMap
=
intent
.
getSerializableExtra
(
XRouterPathConstants
.
ParamsKey
)
as
HashMap
<*,
*>
val
paramsMap
=
intent
.
getSerializableExtra
(
XRouterPathConstants
.
ParamsKey
)
as
HashMap
<*,
*>
va
r
fromTag
=
paramsMap
[
"from"
]
as
String
va
l
fromTag
=
paramsMap
[
"from"
]
as
String
if
(
fromTag
==
"auth"
)
{
if
(
fromTag
==
"auth"
)
{
viewBind
.
layoutCommonHeader
.
ivBack
.
visibility
=
View
.
VISIBLE
// 如果由商户基本信息跳转至此页面 则此页面可返回
viewBind
.
bvTopBar
.
setBackVisibility
(
true
)
}
}
}
}
}
}
private
fun
initListener
()
{
private
fun
initListener
()
{
viewBind
.
layoutCommonHeader
.
ivBack
.
setOnClickListener
(
this
)
viewBind
.
tvJoinStrategy
.
setOnClickListener
(
this
)
viewBind
.
tvJoinStrategy
.
setOnClickListener
(
this
)
viewBind
.
viewPersonalAuth
.
setOnClickListener
(
this
)
viewBind
.
viewPersonalAuth
.
setOnClickListener
(
this
)
viewBind
.
viewEnterpriseAuth
.
setOnClickListener
(
this
)
viewBind
.
viewEnterpriseAuth
.
setOnClickListener
(
this
)
...
@@ -70,9 +69,6 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
...
@@ -70,9 +69,6 @@ class LifeAccountAuthActivity : BaseActivity<ActivityLifeAccountAuthBinding>(),
override
fun
onClick
(
v
:
View
?)
{
override
fun
onClick
(
v
:
View
?)
{
when
(
v
?.
id
)
{
when
(
v
?.
id
)
{
R
.
id
.
iv_back
->
{
XPageManager
.
pop
(
null
)
}
R
.
id
.
tv_join_strategy
->
{
R
.
id
.
tv_join_strategy
->
{
// TODO: 5/26/21 入驻攻略
// TODO: 5/26/21 入驻攻略
}
}
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountEnterpriseAuthActivity.kt
View file @
4fbede89
...
@@ -22,6 +22,7 @@ import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthEnterpriseLegalIden
...
@@ -22,6 +22,7 @@ import com.yidian.shenghuoquan.newscontent.http.httpbean.AuthEnterpriseLegalIden
import
com.yidian.shenghuoquan.newscontent.http.httpbean.AuthIndividualBusinessCompleteBean
import
com.yidian.shenghuoquan.newscontent.http.httpbean.AuthIndividualBusinessCompleteBean
import
com.yidian.shenghuoquan.newscontent.http.httpbean.AuthMerchantCheckBean
import
com.yidian.shenghuoquan.newscontent.http.httpbean.AuthMerchantCheckBean
import
com.yidian.shenghuoquan.newscontent.ui.dialog.BottomSelectDialog
import
com.yidian.shenghuoquan.newscontent.ui.dialog.BottomSelectDialog
import
com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
import
com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthProcessView
import
com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthProcessView
import
com.yidian.xpage.XPageManager
import
com.yidian.xpage.XPageManager
...
@@ -33,7 +34,7 @@ import com.yidian.xpage.XPageManager
...
@@ -33,7 +34,7 @@ import com.yidian.xpage.XPageManager
class
LifeAccountEnterpriseAuthActivity
:
BaseActivity
<
ActivityLifeAccountEnterpriseAuthBinding
>(),
class
LifeAccountEnterpriseAuthActivity
:
BaseActivity
<
ActivityLifeAccountEnterpriseAuthBinding
>(),
View
.
OnClickListener
,
BottomSelectAdapter
.
OnItemClickListener
<
BottomSelectBean
>,
View
.
OnClickListener
,
BottomSelectAdapter
.
OnItemClickListener
<
BottomSelectBean
>,
IAuthBusinessLicenseCommitCallback
,
IAuthEnterpriseLegalIdentityCommitCallback
,
IAuthBusinessLicenseCommitCallback
,
IAuthEnterpriseLegalIdentityCommitCallback
,
IAuthIndividualBusinessComplete
Callback
{
IAuthIndividualBusinessCompleteCallback
,
CommonTopBarView
.
OnCommonTopBarBack
Callback
{
companion
object
{
companion
object
{
...
@@ -94,12 +95,11 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
...
@@ -94,12 +95,11 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
}
}
private
fun
initView
()
{
private
fun
initView
()
{
viewBind
.
viewCommonHeader
.
tvTitle
.
text
=
resources
.
getString
(
R
.
string
.
enterprise_auth
)
viewBind
.
pvAuthProcess
.
setProcess
(
LifeAccountAuthProcessView
.
PROCESS_ENTERPRISE_QUALIFICATION
)
viewBind
.
pvAuthProcess
.
setProcess
(
LifeAccountAuthProcessView
.
PROCESS_ENTERPRISE_QUALIFICATION
)
}
}
private
fun
initListener
()
{
private
fun
initListener
()
{
viewBind
.
viewCommonHeader
.
ivBack
.
setOnClickListener
(
this
)
viewBind
.
bvTopBar
.
setOnCommonTopBarCallback
(
this
,
null
)
viewBind
.
svMerchantType
.
setOnClickListener
(
this
)
viewBind
.
svMerchantType
.
setOnClickListener
(
this
)
viewBind
.
btnNext
.
setOnClickListener
(
this
)
viewBind
.
btnNext
.
setOnClickListener
(
this
)
}
}
...
@@ -194,20 +194,6 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
...
@@ -194,20 +194,6 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
override
fun
onClick
(
v
:
View
?)
{
override
fun
onClick
(
v
:
View
?)
{
when
(
v
?.
id
)
{
when
(
v
?.
id
)
{
R
.
id
.
iv_back
->
{
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
0
)
{
// 当前是第一个fragment 则退出当前activity
XPageManager
.
pop
(
null
)
}
else
{
viewBind
.
pvAuthProcess
.
setProcess
(--
viewBind
.
pvAuthProcess
.
curProcess
)
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
0
)
{
viewBind
.
svMerchantType
.
enableSelect
(
true
)
}
// 回退fragment
switchFragment
(
fragmentList
[
viewBind
.
pvAuthProcess
.
curProcess
])
checkNextCondition
()
}
}
R
.
id
.
sv_merchant_type
->
{
R
.
id
.
sv_merchant_type
->
{
// 弹出商户类型选择
// 弹出商户类型选择
BottomSelectDialog
(
BottomSelectDialog
(
...
@@ -364,4 +350,20 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
...
@@ -364,4 +350,20 @@ class LifeAccountEnterpriseAuthActivity : BaseActivity<ActivityLifeAccountEnterp
)
)
}
}
override
fun
onDoBack
()
{
// 返回上一步/上一页
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
0
)
{
// 当前是第一个fragment 则退出当前activity
XPageManager
.
pop
(
null
)
}
else
{
viewBind
.
pvAuthProcess
.
setProcess
(--
viewBind
.
pvAuthProcess
.
curProcess
)
if
(
viewBind
.
pvAuthProcess
.
curProcess
==
0
)
{
viewBind
.
svMerchantType
.
enableSelect
(
true
)
}
// 回退fragment
switchFragment
(
fragmentList
[
viewBind
.
pvAuthProcess
.
curProcess
])
checkNextCondition
()
}
}
}
}
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/auth/LifeAccountPersonalAuthActivity.kt
View file @
4fbede89
...
@@ -71,11 +71,10 @@ class LifeAccountPersonalAuthActivity :
...
@@ -71,11 +71,10 @@ class LifeAccountPersonalAuthActivity :
}
}
private
fun
initView
()
{
private
fun
initView
()
{
viewBind
.
viewCommonHeader
.
tvTitle
.
text
=
resources
.
getString
(
R
.
string
.
personal_auth
)
}
}
private
fun
initListener
()
{
private
fun
initListener
()
{
viewBind
.
viewCommonHeader
.
ivBack
.
setOnClickListener
(
this
)
viewBind
.
svOccupation
.
setOnClickListener
(
this
)
viewBind
.
svOccupation
.
setOnClickListener
(
this
)
viewBind
.
cbProtocol
.
setOnCheckedChangeListener
(
this
)
viewBind
.
cbProtocol
.
setOnCheckedChangeListener
(
this
)
viewBind
.
btnNext
.
setOnClickListener
(
this
)
viewBind
.
btnNext
.
setOnClickListener
(
this
)
...
@@ -119,7 +118,6 @@ class LifeAccountPersonalAuthActivity :
...
@@ -119,7 +118,6 @@ class LifeAccountPersonalAuthActivity :
override
fun
onClick
(
v
:
View
?)
{
override
fun
onClick
(
v
:
View
?)
{
when
(
v
?.
id
)
{
when
(
v
?.
id
)
{
R
.
id
.
iv_back
->
XPageManager
.
pop
(
null
)
R
.
id
.
sv_occupation
->
{
R
.
id
.
sv_occupation
->
{
XPageManager
.
push
(
XRouterPathConstants
.
CHOOSE_CAREER
,
null
)
XPageManager
.
push
(
XRouterPathConstants
.
CHOOSE_CAREER
,
null
)
}
}
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/center/LifeAccountModifyNameActivity.kt
View file @
4fbede89
...
@@ -19,7 +19,7 @@ import com.yidian.xpage.XPageManager
...
@@ -19,7 +19,7 @@ import com.yidian.xpage.XPageManager
* description: 生活号名称修改
* description: 生活号名称修改
*/
*/
class
LifeAccountModifyNameActivity
:
BaseActivity
<
ActivityLifeAccountModifyNameBinding
>(),
class
LifeAccountModifyNameActivity
:
BaseActivity
<
ActivityLifeAccountModifyNameBinding
>(),
CommonTopBarView
.
OnCommonTopBar
Callback
,
CommonTopBarView
.
OnCommonTopBarAction
Callback
,
LifeAccountAuthIdentityInfoEditView
.
OnLifeAccountAuthIdentityInfoEditViewCallback
,
LifeAccountAuthIdentityInfoEditView
.
OnLifeAccountAuthIdentityInfoEditViewCallback
,
ICreateLifeAccountCallback
{
ICreateLifeAccountCallback
{
...
@@ -52,7 +52,7 @@ class LifeAccountModifyNameActivity : BaseActivity<ActivityLifeAccountModifyName
...
@@ -52,7 +52,7 @@ class LifeAccountModifyNameActivity : BaseActivity<ActivityLifeAccountModifyName
}
}
private
fun
initListener
()
{
private
fun
initListener
()
{
viewBind
.
bvTopBar
.
setOnCommonTopBarCallback
(
this
)
viewBind
.
bvTopBar
.
setOnCommonTopBarCallback
(
null
,
this
)
viewBind
.
evLifeAccountName
.
setOnLifeAccountAuthIdentityInfoEditViewCallback
(
this
)
viewBind
.
evLifeAccountName
.
setOnLifeAccountAuthIdentityInfoEditViewCallback
(
this
)
}
}
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/ui/center/MerchantCenterActivity.kt
View file @
4fbede89
...
@@ -33,7 +33,7 @@ class MerchantCenterActivity : BaseActivity<ActivityMerchantCenterBinding>(),
...
@@ -33,7 +33,7 @@ class MerchantCenterActivity : BaseActivity<ActivityMerchantCenterBinding>(),
IGetConfigListCallback
,
IGetLifeAccountListCallback
,
MerchantSwitchDialog
.
OnMerchantSwitchCallback
,
IGetConfigListCallback
,
IGetLifeAccountListCallback
,
MerchantSwitchDialog
.
OnMerchantSwitchCallback
,
LifeAccountLabelView
.
OnLifeAccountLabelCallback
,
IGetLifeAccountInfoByIdCallback
,
LifeAccountLabelView
.
OnLifeAccountLabelCallback
,
IGetLifeAccountInfoByIdCallback
,
MerchantCenterBottomHintDialog
.
OnMerchantCenterBottomHintCallback
,
IAuthMerchantCheckCallback
,
MerchantCenterBottomHintDialog
.
OnMerchantCenterBottomHintCallback
,
IAuthMerchantCheckCallback
,
MerchantServiceFunctionAdapter
.
OnItemClickListener
,
CommonTopBarView
.
OnCommonTopBarCallback
{
MerchantServiceFunctionAdapter
.
OnItemClickListener
,
CommonTopBarView
.
OnCommonTopBar
Action
Callback
{
companion
object
{
companion
object
{
// 传递的生活号信息
// 传递的生活号信息
...
...
Components/newscontent/src/main/java/com/yidian/shenghuoquan/newscontent/widget/CommonTopBarView.kt
View file @
4fbede89
...
@@ -30,7 +30,15 @@ class CommonTopBarView @JvmOverloads constructor(
...
@@ -30,7 +30,15 @@ class CommonTopBarView @JvmOverloads constructor(
)
)
}
}
private
var
callback
:
OnCommonTopBarCallback
?
=
null
/**
* 返回按钮点击回调
*/
private
var
backCallback
:
OnCommonTopBarBackCallback
?
=
null
/**
* 操作按钮点击回调
*/
private
var
actionCallback
:
OnCommonTopBarActionCallback
?
=
null
init
{
init
{
val
typeArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
CommonTopBarView
)
val
typeArray
=
context
.
obtainStyledAttributes
(
attrs
,
R
.
styleable
.
CommonTopBarView
)
...
@@ -62,20 +70,36 @@ class CommonTopBarView @JvmOverloads constructor(
...
@@ -62,20 +70,36 @@ class CommonTopBarView @JvmOverloads constructor(
override
fun
onClick
(
v
:
View
?)
{
override
fun
onClick
(
v
:
View
?)
{
if
(
v
?.
id
==
R
.
id
.
iv_back
)
{
if
(
v
?.
id
==
R
.
id
.
iv_back
)
{
XPageManager
.
pop
(
null
)
// 若没有设置返回点击回调则默认pop
backCallback
?.
onDoBack
()
?:
XPageManager
.
pop
(
null
)
}
else
if
(
v
?.
id
==
R
.
id
.
tv_action
)
{
}
else
if
(
v
?.
id
==
R
.
id
.
tv_action
)
{
c
allback
?.
onDoAction
()
actionC
allback
?.
onDoAction
()
}
}
}
}
fun
setOnCommonTopBarCallback
(
callback
:
OnCommonTopBarCallback
)
{
/**
this
.
callback
=
callback
* 设置回调
* @param backCallback 返回按钮点击回调
* @param actionCallback 操作按钮点击回调
*/
fun
setOnCommonTopBarCallback
(
backCallback
:
OnCommonTopBarBackCallback
?,
actionCallback
:
OnCommonTopBarActionCallback
?)
{
this
.
backCallback
=
backCallback
this
.
actionCallback
=
actionCallback
}
}
interface
OnCommonTopBarCallback
{
interface
OnCommonTopBar
Action
Callback
{
/**
/**
* 操作回调
* 操作
按钮
回调
*/
*/
fun
onDoAction
()
fun
onDoAction
()
}
}
interface
OnCommonTopBarBackCallback
{
/**
* 返回按钮回调
*/
fun
onDoBack
()
}
}
}
Components/newscontent/src/main/res/layout/activity_life_account_auth.xml
View file @
4fbede89
...
@@ -2,15 +2,14 @@
...
@@ -2,15 +2,14 @@
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:fitsSystemWindows=
"true"
>
<include
<com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
android:id=
"@+id/layout_common_header"
android:id=
"@+id/bv_top_bar"
layout=
"@layout/layout_common_header"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"42dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
app:CommonTopBarView_title_text=
"@string/join_life_circle"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.yidian.nightmode.widget.YdTextView
<com.yidian.nightmode.widget.YdTextView
...
@@ -24,7 +23,7 @@
...
@@ -24,7 +23,7 @@
android:textColor=
"#DE000000"
android:textColor=
"#DE000000"
android:textSize=
"15sp"
android:textSize=
"15sp"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/
layout_common_heade
r"
/>
app:layout_constraintTop_toBottomOf=
"@id/
bv_top_ba
r"
/>
<com.yidian.nightmode.widget.YdTextView
<com.yidian.nightmode.widget.YdTextView
android:id=
"@+id/tv_provide_services"
android:id=
"@+id/tv_provide_services"
...
...
Components/newscontent/src/main/res/layout/activity_life_account_enterprise_auth.xml
View file @
4fbede89
...
@@ -2,15 +2,14 @@
...
@@ -2,15 +2,14 @@
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:fitsSystemWindows=
"true"
>
<include
<com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
android:id=
"@+id/view_common_header"
android:id=
"@+id/bv_top_bar"
layout=
"@layout/layout_common_header"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"42dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
app:CommonTopBarView_title_text=
"@string/enterprise_auth"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthProcessView
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthProcessView
...
@@ -19,7 +18,7 @@
...
@@ -19,7 +18,7 @@
android:layout_height=
"61dp"
android:layout_height=
"61dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/
view_common_heade
r"
/>
app:layout_constraintTop_toBottomOf=
"@id/
bv_top_ba
r"
/>
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthSelectView
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthSelectView
android:id=
"@+id/sv_merchant_type"
android:id=
"@+id/sv_merchant_type"
...
...
Components/newscontent/src/main/res/layout/activity_life_account_personal_auth.xml
View file @
4fbede89
...
@@ -2,15 +2,14 @@
...
@@ -2,15 +2,14 @@
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
>
android:layout_height=
"match_parent"
android:fitsSystemWindows=
"true"
>
<include
<com.yidian.shenghuoquan.newscontent.widget.CommonTopBarView
android:id=
"@+id/view_common_header"
android:id=
"@+id/bv_top_bar"
layout=
"@layout/layout_common_header"
android:layout_width=
"match_parent"
android:layout_width=
"match_parent"
android:layout_height=
"42dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"10dp"
app:CommonTopBarView_title_text=
"@string/personal_auth"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthSelectView
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthSelectView
...
@@ -19,7 +18,7 @@
...
@@ -19,7 +18,7 @@
android:layout_height=
"58dp"
android:layout_height=
"58dp"
app:LifeAccountAuthSelectView_content_hint_text=
"@string/describe_yourself"
app:LifeAccountAuthSelectView_content_hint_text=
"@string/describe_yourself"
app:LifeAccountAuthSelectView_name_text=
"@string/occupation_label"
app:LifeAccountAuthSelectView_name_text=
"@string/occupation_label"
app:layout_constraintTop_toBottomOf=
"@id/
view_common_heade
r"
/>
app:layout_constraintTop_toBottomOf=
"@id/
bv_top_ba
r"
/>
<com.yidian.nightmode.widget.YdFrameLayout
<com.yidian.nightmode.widget.YdFrameLayout
android:id=
"@+id/fragment_container"
android:id=
"@+id/fragment_container"
...
...
Components/newscontent/src/main/res/layout/layout_common_header.xml
deleted
100644 → 0
View file @
5ab3c176
<?xml version="1.0" encoding="utf-8"?>
<com.yidian.nightmode.widget.YdConstraintLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
'http://schemas.android.com/apk/res-auto'
android:layout_width=
"match_parent"
android:layout_height=
"@dimen/toolbar_height"
android:fitsSystemWindows=
"true"
>
<com.yidian.nightmode.widget.YdImageView
android:id=
"@+id/iv_back"
android:layout_width=
"27dp"
android:layout_height=
"27dp"
android:layout_marginStart=
"19dp"
android:src=
"@drawable/icon_back"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<com.yidian.nightmode.widget.YdTextView
android:id=
"@+id/tv_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:includeFontPadding=
"false"
android:textColor=
"#FF333333"
android:textSize=
"17sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
</com.yidian.nightmode.widget.YdConstraintLayout>
\ No newline at end of file
Components/newscontent/src/main/res/layout/top_bar.xml
deleted
100644 → 0
View file @
5ab3c176
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:id=
"@+id/addressBar"
android:layout_width=
"match_parent"
android:layout_height=
"44dp"
android:background=
"@color/white"
>
<ImageButton
android:id=
"@+id/back"
android:layout_width=
"wrap_content"
android:layout_height=
"match_parent"
android:layout_centerVertical=
"true"
android:background=
"@null"
android:paddingStart=
"@dimen/back_button_padding_left"
android:paddingEnd=
"@dimen/back_button_padding_right"
android:scaleType=
"fitCenter"
android:src=
"@drawable/selector_big_back_black_button"
/>
<TextView
android:id=
"@+id/title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_centerInParent=
"true"
android:layout_marginStart=
"5dp"
android:textColor=
"#333333"
android:textSize=
"18sp"
/>
</RelativeLayout>
\ 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