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

Commit 4931a2c2 authored by Katherine Kuan's avatar Katherine Kuan Committed by Makoto Onuki
Browse files

Prevent status updates from getting cut off on contact tiles

- When font size is extra large (for accessibility), the status
message on the contact tiles can get cut off.

- Use sp instead of dip for the height of the black
shadowbox so that it can scale when the font size is increased.
See https://android-git.corp.google.com/g/#/c/137302/
Note: this technique should only be done sparingly as advised
by the framework team

- Remove list view divider on contact tiles in group detail
fragment

Bug: 5324851
Bug: 5221058
Change-Id: I1db02198ebf1a8bd0bd7552bf1900030444cef3c
parent 095af25e
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -40,7 +40,8 @@
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:fadingEdge="none"
            android:scrollbarStyle="outsideOverlay"/>
            android:scrollbarStyle="outsideOverlay"
            android:divider="@null"/>

        <!--
          Shadow overlay over the list of group members (since we have a fake stacked
+6 −2
Original line number Diff line number Diff line
@@ -157,7 +157,11 @@
    <dimen name="contact_browser_list_top_margin">8dip</dimen>

    <!-- ContactTile Layouts -->
    <dimen name="contact_tile_shadowbox_height">48dip</dimen>
    <!--
      Use sp instead of dip so that the shadowbox heights can all scale uniformly
      when the font size is scaled for accessibility purposes
    -->
    <dimen name="contact_tile_shadowbox_height">48sp</dimen>

    <!-- Call Log -->
    <dimen name="call_log_call_action_size">32dip</dimen>