mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-23 03:35:11 +00:00
animation tests
This commit is contained in:
parent
2ae08aeb88
commit
cb52363caf
1 changed files with 4 additions and 4 deletions
|
@ -67,8 +67,8 @@ class HomeFragment : Home() {
|
|||
|
||||
val networkErrorLayout = view?.findViewById<MaterialCardView>(R.id.home_network_wrapper)
|
||||
val mainLayout = view?.findViewById<LinearLayout>(R.id.home_main_wrapper)
|
||||
val oa0 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0f, 0.3f)
|
||||
val oa1 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0.3f, 0.1f)
|
||||
val oa0 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0f, 0.1f)
|
||||
val oa1 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0.1f, 0.01f)
|
||||
val oa2 = ObjectAnimator.ofFloat(networkErrorLayout, "yFraction", -1f, 0.3f)
|
||||
val oa3 = ObjectAnimator.ofFloat(networkErrorLayout, "yFraction", 0.3f, 0f)
|
||||
|
||||
|
@ -97,8 +97,8 @@ class HomeFragment : Home() {
|
|||
|
||||
val networkErrorLayout = view?.findViewById<MaterialCardView>(R.id.home_network_wrapper)
|
||||
val mainLayout = view?.findViewById<LinearLayout>(R.id.home_main_wrapper)
|
||||
val oa0 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0f, 0.3f)
|
||||
val oa1 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0.3f, 0f)
|
||||
val oa0 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0f, 0.1f)
|
||||
val oa1 = ObjectAnimator.ofFloat(mainLayout, "yFraction", 0.1f, 0f)
|
||||
val oa2 = ObjectAnimator.ofFloat(networkErrorLayout, "yFraction", 0f, 0.3f)
|
||||
val oa3 = ObjectAnimator.ofFloat(networkErrorLayout, "yFraction", 0.3f, -1f)
|
||||
|
||||
|
|
Loading…
Reference in a new issue