updating the call icon coloring

This commit is contained in:
tibbi
2022-06-15 18:54:52 +02:00
parent 4a14984e80
commit 568be27fa4

View File

@ -238,8 +238,8 @@ class CallActivity : SimpleActivity() {
startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation) startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation)
} }
call_draggable.applyColorFilter(getProperTextColor()) call_draggable.drawable.mutate().setTint(getProperTextColor())
call_draggable_background.drawable.applyColorFilter(getProperTextColor()) call_draggable_background.drawable.mutate().setTint(getProperTextColor())
var lock = false var lock = false
call_draggable.setOnTouchListener { v, event -> call_draggable.setOnTouchListener { v, event ->
@ -258,7 +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.applyColorFilter(getProperTextColor()) 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