Simple-Dialer icon indicating copy to clipboard operation
Simple-Dialer copied to clipboard

Color the sim cards based on the color from the settings

Open derrohrbach opened this issue 3 years ago • 3 comments

It would be nice, if the sim card color would be respected for the call buttons and in the call log. If you are interested in this feature, then i might even make a pull request for it. Also interesting for the SMS app.

grafik

derrohrbach avatar Mar 21 '22 16:03 derrohrbach

Are you settings that color in your device settings or where? Does any other app show it?

tibbi avatar Mar 21 '22 19:03 tibbi

Exactly, the setting is in the device settings and it is used by multiple apps to make it easier to differenciate between different sim cards.

  • SIM pin input screen
  • AOSP Dialer
  • Google Dialer
  • AOSP SMS App
  • Google Messages

Maybe it is this? Just me googling for five minutes. I am not really experienced with android APIs. https://developer.android.com/reference/android/telecom/PhoneAccount#getHighlightColor()

Also this: https://android.googlesource.com/platform/packages/apps/Dialer/+/refs/heads/master/java/com/android/dialer/calllogutils/PhoneAccountUtils.java#40

If you want i can also send screenshots of the Google Dialer, have to activate it again though :D

derrohrbach avatar Mar 22 '22 13:03 derrohrbach

@derrohrbach would be nice if you can add this feature :-)

leonp5 avatar Jul 25 '23 18:07 leonp5