Code refactor
This commit is contained in:
parent
b2a5f5a2d1
commit
acd55f249a
2 changed files with 3 additions and 3 deletions
|
@ -346,10 +346,10 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
|
|||
ViewCompat.setElevation(bottomNavigationView, 10f)
|
||||
if (isVisible) {
|
||||
bottomSheetBehavior.peekHeightAnimate(heightOfBarWithTabs)
|
||||
bottomNavigationView.translateXAnimate(0f)
|
||||
bottomNavigationView.translateYAnimate(0f)
|
||||
} else {
|
||||
bottomNavigationView.translateYAnimate(150f)
|
||||
bottomSheetBehavior.peekHeightAnimate(heightOfBar)
|
||||
bottomNavigationView.translateXAnimate(500f)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue