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
178b2434
Commit
178b2434
authored
Dec 22, 2020
by
霍志良
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:手机号登录注册UI
parent
f33a2bbb
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
133 additions
and
0 deletions
+133
-0
user_ic_back_black.webp
m-user/src/main/res/drawable-xhdpi/user_ic_back_black.webp
+0
-0
user_login_qq_new.webp
m-user/src/main/res/drawable-xhdpi/user_login_qq_new.webp
+0
-0
user_login_wechat_new.webp
m-user/src/main/res/drawable-xhdpi/user_login_wechat_new.webp
+0
-0
user_triangle_down.webp
m-user/src/main/res/drawable-xhdpi/user_triangle_down.webp
+0
-0
user_activity_register_and_login_new.xml
m-user/src/main/res/layout/user_activity_register_and_login_new.xml
+133
-0
No files found.
m-user/src/main/res/drawable-xhdpi/user_ic_back_black.webp
0 → 100644
View file @
178b2434
File added
m-user/src/main/res/drawable-xhdpi/user_login_qq_new.webp
0 → 100644
View file @
178b2434
File added
m-user/src/main/res/drawable-xhdpi/user_login_wechat_new.webp
0 → 100644
View file @
178b2434
File added
m-user/src/main/res/drawable-xhdpi/user_triangle_down.webp
0 → 100644
View file @
178b2434
File added
m-user/src/main/res/layout/user_activity_register_and_login_new.xml
0 → 100644
View file @
178b2434
<?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout
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=
"match_parent"
android:background=
"@color/white"
>
<ImageView
android:id=
"@+id/img_reg_back"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginStart=
"@dimen/platform_dp_16"
android:layout_marginTop=
"@dimen/platform_dp_20"
android:src=
"@drawable/user_ic_back_black"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
/>
<TextView
android:id=
"@+id/tv_login_title"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_40"
android:text=
"手机号登录/注册"
android:textColor=
"@color/pay_color_242424"
android:textSize=
"22sp"
app:layout_constraintLeft_toRightOf=
"@id/img_reg_back"
app:layout_constraintTop_toTopOf=
"@id/img_reg_back"
/>
<TextView
android:id=
"@+id/country_code"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"90dp"
android:drawableRight=
"@drawable/user_triangle_down"
android:drawablePadding=
"@dimen/platform_dp_4"
android:text=
"+86"
android:textColor=
"@color/pay_color_666666"
android:textSize=
"17sp"
app:layout_constraintStart_toStartOf=
"@id/tv_login_title"
app:layout_constraintTop_toBottomOf=
"@id/tv_login_title"
/>
<com.ydl.ydlcommon.view.PhoneEditText
android:id=
"@+id/et_phone_number"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_gravity=
"center"
android:layout_marginLeft=
"@dimen/platform_dp_24"
android:layout_weight=
"1"
android:background=
"@null"
android:gravity=
"center_vertical|left"
android:hint=
"输入手机号"
android:inputType=
"phone"
android:lines=
"1"
android:maxLength=
"13"
android:textColorHint=
"@color/platform_color_EBEBEB"
android:textSize=
"20sp"
app:layout_constraintBottom_toBottomOf=
"@id/country_code"
app:layout_constraintLeft_toRightOf=
"@id/country_code"
app:layout_constraintTop_toTopOf=
"@id/country_code"
/>
<View
android:id=
"@+id/view_lin"
android:layout_width=
"0dp"
android:layout_height=
"1dp"
android:layout_marginStart=
"@dimen/platform_dp_40"
android:layout_marginTop=
"@dimen/platform_dp_10"
android:layout_marginEnd=
"@dimen/platform_dp_40"
android:background=
"@color/platform_color_EBEBEB"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/country_code"
/>
<LinearLayout
android:id=
"@+id/other_login_style"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginBottom=
"187dp"
android:gravity=
"center"
android:orientation=
"horizontal"
app:layout_constraintBottom_toBottomOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
>
<View
android:layout_width=
"@dimen/platform_dp_60"
android:layout_height=
"@dimen/platform_dp_1"
android:background=
"@color/platform_color_EBEBEB"
>
</View>
<TextView
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginLeft=
"@dimen/platform_dp_16"
android:layout_marginRight=
"@dimen/platform_dp_16"
android:text=
"第三方登录"
android:textColor=
"@color/platform_color_BFBFBF"
android:textSize=
"13sp"
/>
<View
android:layout_width=
"@dimen/platform_dp_60"
android:layout_height=
"@dimen/platform_dp_1"
android:background=
"@color/platform_color_EBEBEB"
>
</View>
</LinearLayout>
<LinearLayout
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"@dimen/platform_dp_20"
android:orientation=
"horizontal"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/other_login_style"
>
<ImageView
android:id=
"@+id/login_wechat"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:layout_marginRight=
"@dimen/platform_dp_35"
android:src=
"@drawable/user_login_wechat_new"
/>
<ImageView
android:id=
"@+id/login_qq"
android:layout_width=
"wrap_content"
android:layout_height=
"wrap_content"
android:src=
"@drawable/user_login_qq_new"
/>
</LinearLayout>
</android.support.constraint.ConstraintLayout>
\ 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