Dynamic navigation

This commit is contained in:
Hemanth S 2020-09-25 02:33:56 +05:30
parent a4bbc9ce5a
commit 76389c45f9
7 changed files with 20 additions and 24 deletions

View file

@ -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