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

Commit

Permalink
去除 Seekbar 拖动阴影
Browse files Browse the repository at this point in the history
  • Loading branch information
Moriafly committed Dec 24, 2021
1 parent 55737a1 commit 8d548be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,8 @@ class PlayerActivity : SlideBackActivity() {
}
binding.ivLyricsBackground.load(bitmap) {
size(ViewSizeResolver(binding.includePlayerCover.ivCover))
transformations(BlurTransformation(this@PlayerActivity, 15F, 30F))
// TODO sampling 5?
transformations(BlurTransformation(this@PlayerActivity, 15F, 15F))
crossfade(500)
}
previousBitmap = bitmap
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout-land/activity_player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
android:layout_marginEnd="56dp"
android:layout_marginBottom="4dp"
android:alpha="0.72"
android:background="@null"
android:maxHeight="2dp"
android:minHeight="4dp"
android:progressDrawable="@drawable/background_seek_bar_music"
Expand Down
1 change: 1 addition & 0 deletions app/src/main/res/layout/activity_player.xml
Original file line number Diff line number Diff line change
Expand Up @@ -312,6 +312,7 @@
android:minHeight="4dp"
android:progressDrawable="@drawable/background_seek_bar_music"
android:splitTrack="false"
android:background="@null"
android:thumb="@drawable/background_seek_bar_thumb"
android:visibility="visible"
app:layout_constraintEnd_toEndOf="parent"
Expand Down

0 comments on commit 8d548be

Please sign in to comment.