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
09d2b114
Commit
09d2b114
authored
Aug 23, 2022
by
王佳洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI调整
parent
1ae9f41c
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
20 additions
and
13 deletions
+20
-13
build.gradle
build.gradle
+1
-1
ModifyAvatarActivity.kt
m-user/src/main/java/com/yidianling/user/mine/ModifyAvatarActivity.kt
+0
-0
ModifyInfoActivity.kt
m-user/src/main/java/com/yidianling/user/mine/ModifyInfoActivity.kt
+4
-0
modify_warn.png
m-user/src/main/res/drawable-xhdpi/modify_warn.png
+0
-0
activity_modify_avatar.xml
m-user/src/main/res/layout/activity_modify_avatar.xml
+5
-3
activity_modify_info.xml
m-user/src/main/res/layout/activity_modify_info.xml
+4
-4
colors.xml
ydl-platform/src/main/res/values/colors.xml
+2
-1
platform_ic_pop_feed.png
ydl-webview/src/main/res/drawable-xhdpi/platform_ic_pop_feed.png
+0
-0
web_ui_new_more.xml
ydl-webview/src/main/res/layout/web_ui_new_more.xml
+4
-4
No files found.
build.gradle
View file @
09d2b114
...
...
@@ -14,7 +14,7 @@ buildscript {
ydlrouter_version
=
'1.2.3'
constrait_support_version
=
'1.0.2'
componentVersion
=
"0.3.0.2
2
-wjy-SNAPSHOT"
componentVersion
=
"0.3.0.2
4
-wjy-SNAPSHOT"
}
repositories
{
mavenCentral
()
...
...
m-user/src/main/java/com/yidianling/user/mine/ModifyAvatarActivity.kt
View file @
09d2b114
This diff is collapsed.
Click to expand it.
m-user/src/main/java/com/yidianling/user/mine/ModifyInfoActivity.kt
View file @
09d2b114
...
...
@@ -6,6 +6,8 @@ import android.text.Spannable
import
android.text.SpannableString
import
android.text.TextWatcher
import
android.text.style.ForegroundColorSpan
import
android.util.TypedValue.COMPLEX_UNIT_SP
import
android.view.Gravity
import
android.view.View
import
android.view.animation.Animation
import
android.view.animation.AnimationUtils
...
...
@@ -76,6 +78,8 @@ class ModifyInfoActivity : BaseActivity() {
det_set_info
.
layoutParams
.
height
=
RxImageTool
.
dp2px
(
180f
)
det_set_info
.
hint
=
"一句话介绍下自己"
det_set_info
.
setShowDelete
(
false
)
det_set_info
.
setTextSize
(
COMPLEX_UNIT_SP
,
14f
)
det_set_info
.
gravity
=
Gravity
.
START
}
tb_title_bar
.
setOnLeftTextClick
{
_
,
_
->
setResult
(
RESULT_OK
)
// 刷新个人资料页
...
...
m-user/src/main/res/drawable-xhdpi/modify_warn.png
View replaced file @
1ae9f41c
View file @
09d2b114
2.01 KB
|
W:
|
H:
2.03 KB
|
W:
|
H:
2-up
Swipe
Onion skin
m-user/src/main/res/layout/activity_modify_avatar.xml
View file @
09d2b114
...
...
@@ -21,7 +21,7 @@
app:layout_constraintBottom_toTopOf=
"@id/iv_avatar"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
android:textColor=
"@color/color_
C3C4CA
"
android:textColor=
"@color/color_
62636F
"
android:layout_marginBottom=
"12dp"
android:gravity=
"center"
android:textSize=
"12sp"
...
...
@@ -29,6 +29,7 @@
<ImageView
android:id=
"@+id/iv_avatar"
android:layout_marginBottom=
"20dp"
android:layout_width=
"match_parent"
android:layout_height=
"0dp"
app:layout_constraintTop_toTopOf=
"parent"
...
...
@@ -41,8 +42,8 @@
android:layout_height=
"12dp"
app:layout_constraintEnd_toStartOf=
"@id/tv_tip2"
app:layout_constraintTop_toTopOf=
"@id/tv_tip2"
android:layout_marginEnd=
"
2
dp"
android:layout_marginTop=
"
2
dp"
android:layout_marginEnd=
"
3
dp"
android:layout_marginTop=
"
3.5
dp"
android:visibility=
"gone"
tools:visibility=
"visible"
android:src=
"@drawable/modify_warn"
/>
...
...
@@ -50,6 +51,7 @@
<TextView
android:id=
"@+id/tv_tip2"
android:layout_marginTop=
"12dp"
android:layout_marginStart=
"6dp"
app:layout_constraintStart_toStartOf=
"parent"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toBottomOf=
"@id/iv_avatar"
...
...
m-user/src/main/res/layout/activity_modify_info.xml
View file @
09d2b114
...
...
@@ -4,7 +4,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"@color/color_F
9F9FD
"
android:background=
"@color/color_F
7F7FA
"
android:orientation=
"vertical"
>
<com.ydl.ydlcommon.view.TitleBar
...
...
@@ -23,7 +23,7 @@
android:layout_height=
"wrap_content"
android:layout_marginStart=
"26dp"
android:layout_marginBottom=
"12dp"
android:textColor=
"@color/color_
9d9ea7
"
android:textColor=
"@color/color_
C3C4CA
"
android:textSize=
"14sp"
android:visibility=
"gone"
tools:text=
"七天内可修改一次昵称"
...
...
@@ -39,8 +39,8 @@
android:background=
"@drawable/bg_corner_8_white"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
android:paddingTop=
"1
5
dp"
android:gravity=
"
start
"
android:paddingTop=
"1
2
dp"
android:gravity=
"
center_vertical
"
android:textSize=
"18sp"
android:textColor=
"@color/color_1C1F28"
android:paddingBottom=
"15dp"
/>
...
...
ydl-platform/src/main/res/values/colors.xml
View file @
09d2b114
...
...
@@ -135,5 +135,6 @@
<color
name=
"color_2E2E30"
>
#2E2E30
</color>
<color
name=
"color_191919"
>
#191919
</color>
<color
name=
"color_E5E5E5"
>
#E5E5E5
</color>
<color
name=
"color_F9F9FD"
>
#F9F9FD
</color>
<color
name=
"color_F7F7FA"
>
#F7F7FA
</color>
<color
name=
"color_62636F"
>
#62636F
</color>
</resources>
ydl-webview/src/main/res/drawable-xhdpi/platform_ic_pop_feed.png
View replaced file @
1ae9f41c
View file @
09d2b114
2.3 KB
|
W:
|
H:
2.22 KB
|
W:
|
H:
2-up
Swipe
Onion skin
ydl-webview/src/main/res/layout/web_ui_new_more.xml
View file @
09d2b114
...
...
@@ -3,7 +3,7 @@
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"145dp"
android:layout_height=
"wrap_content"
android:layout_marginTop=
"
55
dp"
android:layout_marginTop=
"
44
dp"
android:layout_marginEnd=
"10dp"
android:background=
"@drawable/bg_corner_8_white"
android:elevation=
"4dp"
...
...
@@ -141,9 +141,9 @@
android:orientation=
"horizontal"
>
<ImageView
android:layout_width=
"2
4
dp"
android:layout_height=
"2
4
dp"
android:layout_marginEnd=
"1
7
dp"
android:layout_width=
"2
2
dp"
android:layout_height=
"2
2
dp"
android:layout_marginEnd=
"1
9
dp"
android:src=
"@drawable/platform_ic_pop_feed"
/>
<TextView
...
...
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