Phone icon indicating copy to clipboard operation
Phone copied to clipboard

Fade callEnd button when call is ended

Open Melr0k opened this issue 2 years ago • 0 comments

Checklist

  • [X] I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • [X] I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • [X] I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • [X] I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • [X] This issue contains only one feature request.
  • [X] I have read and understood the contribution guidelines.
  • [ ] I optionally donated to support the Fossify mission.

Feature description

Fade the callEnd button when the phone call is ended. Why not fade the others as they should not be enabled too…

Why do you want this feature?

When a phone call ends I don't really understand why it stays there for a bit before the call activity closes. And in this moment I always doubt if the phone call is really ended or not, and it took some time to see the text "Call ended". I think it's more clear to fade/dim the buttons to reassures that the phone call is ended. And it's easy to do.

Additional information

I tried binding.callEnd.setAlpha(0.5f) in the method endCall from CallActivity (line 759, just before the if statement) and I like it. It probably should be in its own function so we can visually disable all the buttons we decide to fade.

Melr0k avatar May 02 '24 23:05 Melr0k