mirror of
https://github.com/cmclark00/RetroMusicPlayer.git
synced 2025-05-20 00:55:20 +01:00
Dynamic navigation
This commit is contained in:
parent
a4bbc9ce5a
commit
76389c45f9
7 changed files with 20 additions and 24 deletions
|
@ -51,8 +51,7 @@ fun EditText.appHandleColor(): EditText {
|
|||
}
|
||||
|
||||
|
||||
fun View.translateXAnimate(value: Float) {
|
||||
println("translateXAnimate $value")
|
||||
fun View.translateXAnimate(value: Float) {
|
||||
ObjectAnimator.ofFloat(this, "translationY", value)
|
||||
.apply {
|
||||
duration = 300
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue