Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Commit 8d548be

Browse files
committed
去除 Seekbar 拖动阴影
1 parent 55737a1 commit 8d548be

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

.idea/misc.xml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/dirror/music/ui/player/PlayerActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,8 @@ class PlayerActivity : SlideBackActivity() {
393393
}
394394
binding.ivLyricsBackground.load(bitmap) {
395395
size(ViewSizeResolver(binding.includePlayerCover.ivCover))
396-
transformations(BlurTransformation(this@PlayerActivity, 15F, 30F))
396+
// TODO sampling 5?
397+
transformations(BlurTransformation(this@PlayerActivity, 15F, 15F))
397398
crossfade(500)
398399
}
399400
previousBitmap = bitmap

app/src/main/res/layout-land/activity_player.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
android:layout_marginEnd="56dp"
7575
android:layout_marginBottom="4dp"
7676
android:alpha="0.72"
77+
android:background="@null"
7778
android:maxHeight="2dp"
7879
android:minHeight="4dp"
7980
android:progressDrawable="@drawable/background_seek_bar_music"

app/src/main/res/layout/activity_player.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@
312312
android:minHeight="4dp"
313313
android:progressDrawable="@drawable/background_seek_bar_music"
314314
android:splitTrack="false"
315+
android:background="@null"
315316
android:thumb="@drawable/background_seek_bar_thumb"
316317
android:visibility="visible"
317318
app:layout_constraintEnd_toEndOf="parent"

0 commit comments

Comments
 (0)