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
247503d2
Commit
247503d2
authored
Aug 10, 2022
by
王佳洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI修改完成
parent
e53c5138
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
8 deletions
+13
-8
build.gradle
build.gradle
+1
-1
AudioPlayActivity.kt
m-course/src/main/java/com/yidianling/course/coursePlay/AudioPlayActivity.kt
+1
-1
course_seekbar.xml
m-course/src/main/res/drawable/course_seekbar.xml
+2
-2
activity_audio_play.xml
m-course/src/main/res/layout/activity_audio_play.xml
+5
-0
audio_play_view.xml
m-course/src/main/res/layout/audio_play_view.xml
+2
-2
item_course_playlist.xml
m-course/src/main/res/layout/item_course_playlist.xml
+2
-2
No files found.
build.gradle
View file @
247503d2
...
...
@@ -14,7 +14,7 @@ buildscript {
ydlrouter_version
=
'1.2.3'
constrait_support_version
=
'1.0.2'
componentVersion
=
"0.3.0.2
5
-SNAPSHOT"
componentVersion
=
"0.3.0.2
6
-SNAPSHOT"
}
repositories
{
mavenCentral
()
...
...
m-course/src/main/java/com/yidianling/course/coursePlay/AudioPlayActivity.kt
View file @
247503d2
...
...
@@ -185,7 +185,7 @@ class AudioPlayActivity : BaseMvpActivity<IAudioPlayContract.View, IAudioPlayCon
Glide
.
with
(
this
)
.
load
(
it
.
pic
)
.
transition
(
DrawableTransitionOptions
.
withCrossFade
())
.
apply
(
RequestOptions
.
bitmapTransform
(
BlurTransformation
(
10
,
16
)))
.
apply
(
RequestOptions
.
bitmapTransform
(
BlurTransformation
(
5
,
20
)))
.
into
(
object
:
ViewTarget
<
ConstraintLayout
,
Drawable
>(
cl_bg
)
{
override
fun
onResourceReady
(
resource
:
Drawable
,
transition
:
Transition
<
in
Drawable
>?)
{
view
.
background
=
resource
...
...
m-course/src/main/res/drawable/course_seekbar.xml
View file @
247503d2
...
...
@@ -4,14 +4,14 @@
<item
android:id=
"@android:id/background"
>
<shape>
<corners
android:radius=
"3dp"
/>
<solid
android:color=
"
@color/color_
FAFAFF"
/>
<solid
android:color=
"
#9A
FAFAFF"
/>
</shape>
</item>
<item
android:id=
"@android:id/secondaryProgress"
>
<clip>
<shape>
<corners
android:radius=
"3dp"
/>
<solid
android:color=
"
@color/color_
FAFAFF"
/>
<solid
android:color=
"
#9A
FAFAFF"
/>
</shape>
</clip>
</item>
...
...
m-course/src/main/res/layout/activity_audio_play.xml
View file @
247503d2
...
...
@@ -7,6 +7,11 @@
android:layout_height=
"match_parent"
tools:background=
"#9F998F"
>
<View
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:background=
"#C8000000"
/>
<ImageView
android:id=
"@+id/iv_back"
android:layout_width=
"36dp"
...
...
m-course/src/main/res/layout/audio_play_view.xml
View file @
247503d2
...
...
@@ -25,13 +25,13 @@
<SeekBar
android:id=
"@+id/seekbar"
android:layout_width=
"0dp"
android:paddingStart=
"10dp"
android:paddingEnd=
"10dp"
android:layout_height=
"wrap_content"
app:layout_constraintStart_toEndOf=
"@id/iv_rewind"
app:layout_constraintEnd_toStartOf=
"@id/iv_fast_forward"
app:layout_constraintTop_toTopOf=
"@id/iv_rewind"
app:layout_constraintBottom_toBottomOf=
"@id/iv_rewind"
android:layout_marginStart=
"8dp"
android:layout_marginEnd=
"8dp"
android:maxHeight=
"3dp"
android:minHeight=
"3dp"
android:progressDrawable=
"@drawable/course_seekbar"
...
...
m-course/src/main/res/layout/item_course_playlist.xml
View file @
247503d2
...
...
@@ -30,7 +30,7 @@
android:src=
"@drawable/course_audition"
android:visibility=
"gone"
tools:visibility=
"visible"
android:layout_marginEnd=
"
69
dp"
android:layout_marginEnd=
"
50
dp"
app:layout_constraintEnd_toEndOf=
"parent"
app:layout_constraintTop_toTopOf=
"parent"
app:layout_constraintBottom_toBottomOf=
"parent"
/>
...
...
@@ -61,7 +61,7 @@
<View
android:layout_width=
"match_parent"
android:layout_height=
"0.5dp"
android:layout_height=
"0.
2
5dp"
android:layout_marginTop=
"19.5dp"
android:layout_marginEnd=
"17dp"
android:layout_marginStart=
"17dp"
...
...
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