Commit 247503d2 by 王佳洋

UI修改完成

parent e53c5138
...@@ -14,7 +14,7 @@ buildscript { ...@@ -14,7 +14,7 @@ buildscript {
ydlrouter_version = '1.2.3' ydlrouter_version = '1.2.3'
constrait_support_version = '1.0.2' constrait_support_version = '1.0.2'
componentVersion = "0.3.0.25-SNAPSHOT" componentVersion = "0.3.0.26-SNAPSHOT"
} }
repositories { repositories {
mavenCentral() mavenCentral()
......
...@@ -185,7 +185,7 @@ class AudioPlayActivity : BaseMvpActivity<IAudioPlayContract.View, IAudioPlayCon ...@@ -185,7 +185,7 @@ class AudioPlayActivity : BaseMvpActivity<IAudioPlayContract.View, IAudioPlayCon
Glide.with(this) Glide.with(this)
.load(it.pic) .load(it.pic)
.transition(DrawableTransitionOptions.withCrossFade()) .transition(DrawableTransitionOptions.withCrossFade())
.apply(RequestOptions.bitmapTransform(BlurTransformation(10, 16))) .apply(RequestOptions.bitmapTransform(BlurTransformation(5, 20)))
.into(object : ViewTarget<ConstraintLayout, Drawable>(cl_bg) { .into(object : ViewTarget<ConstraintLayout, Drawable>(cl_bg) {
override fun onResourceReady(resource: Drawable, transition: Transition<in Drawable>?) { override fun onResourceReady(resource: Drawable, transition: Transition<in Drawable>?) {
view.background = resource view.background = resource
......
...@@ -4,14 +4,14 @@ ...@@ -4,14 +4,14 @@
<item android:id="@android:id/background"> <item android:id="@android:id/background">
<shape> <shape>
<corners android:radius="3dp" /> <corners android:radius="3dp" />
<solid android:color="@color/color_FAFAFF" /> <solid android:color="#9AFAFAFF" />
</shape> </shape>
</item> </item>
<item android:id="@android:id/secondaryProgress"> <item android:id="@android:id/secondaryProgress">
<clip> <clip>
<shape> <shape>
<corners android:radius="3dp" /> <corners android:radius="3dp" />
<solid android:color="@color/color_FAFAFF" /> <solid android:color="#9AFAFAFF" />
</shape> </shape>
</clip> </clip>
</item> </item>
......
...@@ -7,6 +7,11 @@ ...@@ -7,6 +7,11 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:background="#9F998F"> tools:background="#9F998F">
<View
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#C8000000"/>
<ImageView <ImageView
android:id="@+id/iv_back" android:id="@+id/iv_back"
android:layout_width="36dp" android:layout_width="36dp"
......
...@@ -25,13 +25,13 @@ ...@@ -25,13 +25,13 @@
<SeekBar <SeekBar
android:id="@+id/seekbar" android:id="@+id/seekbar"
android:layout_width="0dp" android:layout_width="0dp"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
app:layout_constraintStart_toEndOf="@id/iv_rewind" app:layout_constraintStart_toEndOf="@id/iv_rewind"
app:layout_constraintEnd_toStartOf="@id/iv_fast_forward" app:layout_constraintEnd_toStartOf="@id/iv_fast_forward"
app:layout_constraintTop_toTopOf="@id/iv_rewind" app:layout_constraintTop_toTopOf="@id/iv_rewind"
app:layout_constraintBottom_toBottomOf="@id/iv_rewind" app:layout_constraintBottom_toBottomOf="@id/iv_rewind"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:maxHeight="3dp" android:maxHeight="3dp"
android:minHeight="3dp" android:minHeight="3dp"
android:progressDrawable="@drawable/course_seekbar" android:progressDrawable="@drawable/course_seekbar"
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
android:src="@drawable/course_audition" android:src="@drawable/course_audition"
android:visibility="gone" android:visibility="gone"
tools:visibility="visible" tools:visibility="visible"
android:layout_marginEnd="69dp" android:layout_marginEnd="50dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:layout_constraintBottom_toBottomOf="parent"/> app:layout_constraintBottom_toBottomOf="parent"/>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<View <View
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0.5dp" android:layout_height="0.25dp"
android:layout_marginTop="19.5dp" android:layout_marginTop="19.5dp"
android:layout_marginEnd="17dp" android:layout_marginEnd="17dp"
android:layout_marginStart="17dp" android:layout_marginStart="17dp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment