Fix color not showing in Gradient
parent
cef955abe6
commit
3e258714bb
|
@ -16,7 +16,7 @@ android {
|
||||||
vectorDrawables.useSupportLibrary = true
|
vectorDrawables.useSupportLibrary = true
|
||||||
|
|
||||||
applicationId "code.name.monkey.retromusic"
|
applicationId "code.name.monkey.retromusic"
|
||||||
versionCode 10502
|
versionCode 10503
|
||||||
versionName '4.0.010' + "_" + getDate()
|
versionName '4.0.010' + "_" + getDate()
|
||||||
|
|
||||||
multiDexEnabled true
|
multiDexEnabled true
|
||||||
|
|
|
@ -345,11 +345,11 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
||||||
ViewCompat.setElevation(slidingPanel, 10f)
|
ViewCompat.setElevation(slidingPanel, 10f)
|
||||||
ViewCompat.setElevation(bottomNavigationView, 10f)
|
ViewCompat.setElevation(bottomNavigationView, 10f)
|
||||||
if (isVisible) {
|
if (isVisible) {
|
||||||
bottomSheetBehavior.peekHeightAnimate(heightOfBarWithTabs)
|
bottomSheetBehavior.peekHeight = heightOfBarWithTabs
|
||||||
bottomNavigationView.translateYAnimate(0f)
|
bottomNavigationView.translateYAnimate(0f)
|
||||||
} else {
|
} else {
|
||||||
bottomNavigationView.translateYAnimate(150f)
|
bottomNavigationView.translateYAnimate(150f)
|
||||||
bottomSheetBehavior.peekHeightAnimate(heightOfBar)
|
bottomSheetBehavior.peekHeight = heightOfBar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -224,7 +224,7 @@ class GradientPlayerFragment : AbsPlayerFragment(R.layout.fragment_gradient_play
|
||||||
songInfo.setTextColor(lastDisabledPlaybackControlsColor)
|
songInfo.setTextColor(lastDisabledPlaybackControlsColor)
|
||||||
|
|
||||||
volumeFragment?.setTintableColor(lastPlaybackControlsColor.ripAlpha())
|
volumeFragment?.setTintableColor(lastPlaybackControlsColor.ripAlpha())
|
||||||
ViewUtil.setProgressDrawable(progressSlider, color.primaryTextColor.ripAlpha(), true)
|
ViewUtil.setProgressDrawable(progressSlider, lastPlaybackControlsColor.ripAlpha(), true)
|
||||||
|
|
||||||
updateRepeatState()
|
updateRepeatState()
|
||||||
updateShuffleState()
|
updateShuffleState()
|
||||||
|
|
Loading…
Reference in New Issue