透明度
This commit is contained in:
parent
a452f7de32
commit
615784f8fb
|
|
@ -276,7 +276,7 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
|
||||||
with (binding?.playIcon!!) {
|
with (binding?.playIcon!!) {
|
||||||
val animationSet = AnimationSet(true)
|
val animationSet = AnimationSet(true)
|
||||||
animationSet.duration = 250
|
animationSet.duration = 250
|
||||||
val alphaAnimation = AlphaAnimation(0.8f, 0.3f)
|
val alphaAnimation = AlphaAnimation(0.6f, 0.3f)
|
||||||
val scaleAnimation = ScaleAnimation(
|
val scaleAnimation = ScaleAnimation(
|
||||||
1.0f, 0.5f,
|
1.0f, 0.5f,
|
||||||
1.0f, 0.5f,
|
1.0f, 0.5f,
|
||||||
|
|
@ -308,7 +308,7 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
|
||||||
|
|
||||||
val animationSet = AnimationSet(true)
|
val animationSet = AnimationSet(true)
|
||||||
animationSet.duration = 250
|
animationSet.duration = 250
|
||||||
val alphaAnimation = AlphaAnimation(0.3f, 0.8f)
|
val alphaAnimation = AlphaAnimation(0.3f, 0.6f)
|
||||||
val scaleAnimation = ScaleAnimation(
|
val scaleAnimation = ScaleAnimation(
|
||||||
0.5f, 1.0f,
|
0.5f, 1.0f,
|
||||||
0.5f, 1.0f,
|
0.5f, 1.0f,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue