fix draggable icon for accepting/rejecting not being visible with white background

This commit is contained in:
Pavel Poley 2022-06-15 17:39:07 +03:00
parent 52fb631cb5
commit 1a05a56771
1 changed files with 4 additions and 0 deletions

View File

@ -238,6 +238,9 @@ class CallActivity : SimpleActivity() {
startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation) startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation)
} }
call_draggable.drawable.mutate().setTint(getProperTextColor())
call_draggable_background.drawable.mutate().setTint(getProperTextColor())
var lock = false var lock = false
call_draggable.setOnTouchListener { v, event -> call_draggable.setOnTouchListener { v, event ->
when (event.action) { when (event.action) {
@ -255,6 +258,7 @@ class CallActivity : SimpleActivity() {
call_draggable_background.animate().alpha(0.2f) call_draggable_background.animate().alpha(0.2f)
} }
call_draggable.setImageDrawable(getDrawable(R.drawable.ic_phone_down_vector)) call_draggable.setImageDrawable(getDrawable(R.drawable.ic_phone_down_vector))
call_draggable.drawable.mutate().setTint(getProperTextColor())
call_left_arrow.animate().alpha(1f) call_left_arrow.animate().alpha(1f)
call_right_arrow.animate().alpha(1f) call_right_arrow.animate().alpha(1f)
stopAnimation = false stopAnimation = false