Add transitions to call state pill.

This commit is contained in:
Alex Hart 2023-03-23 13:21:10 -03:00 committed by Greyson Parrelli
parent 8f9713a2c0
commit 6ae3fb49e0
2 changed files with 7 additions and 0 deletions

View file

@ -36,6 +36,8 @@ class CallStateUpdatePopupWindow(private val parent: ViewGroup) : PopupWindow(
onCallStateUpdate(pending)
}
}
animationStyle = R.style.CallStateToastAnimation
}
fun setEnabled(enabled: Boolean) {

View file

@ -19,4 +19,9 @@
<item name="android:windowEnterAnimation">@anim/delay_fade_in</item>
<item name="android:windowExitAnimation">@anim/shrink_fade_out</item>
</style>
<style name="CallStateToastAnimation" parent="@android:style/Animation">
<item name="android:windowEnterAnimation">@anim/fade_scale_in</item>
<item name="android:windowExitAnimation">@anim/fade_out</item>
</style>
</resources>