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

Commit a2e1b6ac authored by Yorke Lee's avatar Yorke Lee Committed by Jay Shrauner
Browse files

Tweaks to redlines for letter tile avatars

* Add overridable method for subclasses to define their own layout
based on whether or not the contact photo is a letter tile avatar

* Update color palette for letter tile avatar backgrounds

Bug: 13101785
Change-Id: I69759d17867b15f9b7e35b1c48e9d85e4470cd56
(cherry picked from commit 906ffc8a0655f0e78a9b7307e7e76717bfdc6d58)
parent 59ff2916
Loading
Loading
Loading
Loading
+10 −9
Original line number Diff line number Diff line
@@ -48,16 +48,17 @@
    <color name="textColorIconOverlay">#fff</color>
    <color name="textColorIconOverlayShadow">#000</color>

    <!-- Make sure to also update LetterTileProvider#NUM_OF_TILE_COLORS when adding or removing colors -->
    <!-- Make sure to also update LetterTileProvider#NUM_OF_TILE_COLORS when adding or removing
    colors -->
    <array name="letter_tile_colors">
        <item>#f16364</item>
        <item>#f58559</item>
        <item>#f9a43e</item>
        <item>#e4c62e</item>
        <item>#67bf74</item>
        <item>#59a2be</item>
        <item>#2093cd</item>
        <item>#ad62a7</item>
        <item>#33b679</item>
        <item>#536173</item>
        <item>#855e86</item>
        <item>#df5948</item>
        <item>#aeb857</item>
        <item>#547bca</item>
        <item>#ae6b23</item>
        <item>#e5ae4f</item>
    </array>
    <color name="letter_tile_default_color">#cccccc</color>