Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e70ef90d authored by calderwoodra's avatar calderwoodra Committed by Eric Erfanian
Browse files

Fix a few UI bugs.

 - clear call log dialog no longer crashes
 - phone account selector dialog now has a visible title
 - dialpad text in the incall ui is now visible.

Bug: 80144855,80146941,80175230
Test: tap
PiperOrigin-RevId: 197952658
Change-Id: Ifaea9b798fef7e36d681a83269e4f65df33f1193
parent e3146e09
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@

    <!-- Used to automatically style AlertDialogs -->
    <item name="alertDialogTheme">@style/AlertDialogTheme</item>
    <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
  </style>

  <style name="Dialer.Dark" parent="Theme.AppCompat">
@@ -38,6 +39,7 @@

    <!-- Used to automatically style AlertDialogs -->
    <item name="alertDialogTheme">@style/AlertDialogTheme</item>
    <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
  </style>

  <!-- Used to style all Dialer's button's text. Every button is awarded this for free if the parent
@@ -49,7 +51,9 @@
  <!-- Used to style all Dialer's AlertDialogs. Every button is awarded this for free if the parent
     activity's theme extends from Dialer.ThemeBase(.NoActionBar) or doesn't specify a theme. -->
  <style name="AlertDialogTheme" parent="Theme.AppCompat.Light.Dialog.Alert">
    <item name="android:textColorPrimary">@color/dialer_primary_text_color</item>
    <!-- TODO(a bug): figure out why ?android:attr/colorPrimary doesn't work here -->
    <item name="android:colorAccent">@color/dialer_theme_color</item>
    <item name="colorAccent">@color/dialer_theme_color</item>
  </style>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -16,6 +16,6 @@
  -->

<selector xmlns:android="http://schemas.android.com/apk/res/android">
  <item android:color="?android:attr/colorPrimary" android:state_checked="true"/>
  <item android:color="?android:attr/colorPrimaryDark" android:state_checked="true"/>
  <item android:color="?android:attr/colorBackgroundFloating"/>
</selector>
+1 −0
Original line number Diff line number Diff line
@@ -72,6 +72,7 @@
      @dimen/incall_end_call_spacing
    </item>
    <item name="dialpad_elevation">10dp</item>
    <item name="dialpad_text_color">?android:attr/textColorPrimaryInverse</item>
    <item name="dialpad_text_color_secondary">?android:attr/textColorSecondaryInverse</item>
  </style>