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
ad876e65
Commit
ad876e65
authored
Jun 21, 2021
by
yinjiacheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix 产品体验 认证流程首页个人、企业认证卡片高度自适应
parent
d2bef32c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
13 deletions
+19
-13
activity_life_account_auth.xml
...ontent/src/main/res/layout/activity_life_account_auth.xml
+8
-4
view_life_account_auth_card.xml
...ntent/src/main/res/layout/view_life_account_auth_card.xml
+11
-9
No files found.
Components/newscontent/src/main/res/layout/activity_life_account_auth.xml
View file @
ad876e65
...
...
@@ -39,9 +39,11 @@
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthCardView
android:id=
"@+id/view_personal_auth"
android:layout_width=
"322dp"
android:layout_height=
"144dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"19dp"
android:layout_marginTop=
"24dp"
android:layout_marginEnd=
"19dp"
app:cardCornerRadius=
"12dp"
app:cardElevation=
"6dp"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
@@ -50,9 +52,11 @@
<com.yidian.shenghuoquan.newscontent.widget.LifeAccountAuthCardView
android:id=
"@+id/view_enterprise_auth"
android:layout_width=
"322dp"
android:layout_height=
"144dp"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"19dp"
android:layout_marginTop=
"19dp"
android:layout_marginEnd=
"19dp"
app:cardCornerRadius=
"12dp"
app:cardElevation=
"6dp"
app:layout_constraintEnd_toEndOf=
"parent"
...
...
Components/newscontent/src/main/res/layout/view_life_account_auth_card.xml
View file @
ad876e65
<?xml version="1.0" encoding="utf-8"?>
<androidx.cardview.widget.CardView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"
322dp
"
android:layout_height=
"
144dp
"
>
android:layout_width=
"
match_parent
"
android:layout_height=
"
wrap_content
"
>
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@drawable/selector_life_account_auth_card"
>
<
com.yidian.nightmode.widget.Yd
TextView
<TextView
android:id=
"@+id/tv_name"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"23dp"
android:includeFontPadding=
"false"
...
...
@@ -23,9 +23,9 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<
com.yidian.nightmode.widget.Yd
TextView
<TextView
android:id=
"@+id/tv_condition"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:includeFontPadding=
"false"
...
...
@@ -36,20 +36,22 @@
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tv_name"
/>
<
com.yidian.nightmode.widget.Yd
TextView
<TextView
android:id=
"@+id/tv_description"
android:layout_width=
"
match_par
ent"
android:layout_width=
"
wrap_cont
ent"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"6dp"
android:layout_marginBottom=
"23dp"
android:includeFontPadding=
"false"
android:paddingStart=
"23dp"
android:paddingEnd=
"23dp"
android:textColor=
"#FF999999"
android:textSize=
"12sp"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/tv_condition"
/>
<
com.yidian.nightmode.widget.Yd
ImageView
<ImageView
android:id=
"@+id/iv_authenticated"
android:layout_width=
"49dp"
android:layout_height=
"58dp"
...
...
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