mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-21 22:07:44 +01:00
fix draggable icon for accepting/rejecting not being visible with white background
This commit is contained in:
parent
52fb631cb5
commit
1a05a56771
@ -238,6 +238,9 @@ class CallActivity : SimpleActivity() {
|
||||
startArrowAnimation(call_right_arrow, initialRightArrowX, initialRightArrowScaleX, initialRightArrowScaleY, rightArrowTranslation)
|
||||
}
|
||||
|
||||
call_draggable.drawable.mutate().setTint(getProperTextColor())
|
||||
call_draggable_background.drawable.mutate().setTint(getProperTextColor())
|
||||
|
||||
var lock = false
|
||||
call_draggable.setOnTouchListener { v, event ->
|
||||
when (event.action) {
|
||||
@ -255,6 +258,7 @@ class CallActivity : SimpleActivity() {
|
||||
call_draggable_background.animate().alpha(0.2f)
|
||||
}
|
||||
call_draggable.setImageDrawable(getDrawable(R.drawable.ic_phone_down_vector))
|
||||
call_draggable.drawable.mutate().setTint(getProperTextColor())
|
||||
call_left_arrow.animate().alpha(1f)
|
||||
call_right_arrow.animate().alpha(1f)
|
||||
stopAnimation = false
|
||||
|
Loading…
x
Reference in New Issue
Block a user