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

Commit 07a6da68 authored by Andrew Lee's avatar Andrew Lee
Browse files

Updating contact list item for Dialer search redlines.

- Add text offset field so that the text can be properly aligned
after taking into account inherent padding.
- Set elegant text height to false on name/data TextViews.
- Increase small text size.

Bug: 15328499
Change-Id: Ib86ab2a3f1bde676f0950453653a90d51b26fb0b
parent 98b85f49
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -59,6 +59,7 @@
        <attr name="list_item_name_text_color" format="color"/>
        <attr name="list_item_name_text_size" format="dimension"/>
        <attr name="list_item_text_indent" format="dimension"/>
        <attr name="list_item_text_offset_top" format="dimension"/>
        <attr name="list_item_data_width_weight" format="integer"/>
        <attr name="list_item_label_width_weight" format="integer"/>
    </declare-styleable>
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ background and text color. See also android:style/Widget.Holo.TextView.ListSepar
    </style>

    <style name="TextAppearanceSmall" parent="@android:style/TextAppearance.Small">
        <item name="android:textSize">12sp</item>
        <item name="android:textSize">14sp</item>
        <item name="android:textColor">#888888</item>
    </style>