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
diff --git a/res-common/values/attrs.xml b/res-common/values/attrs.xml
index 3a143bf..524df94 100644
--- a/res-common/values/attrs.xml
+++ b/res-common/values/attrs.xml
@@ -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>
diff --git a/res-common/values/styles.xml b/res-common/values/styles.xml
index 252ba0c..488deda 100644
--- a/res-common/values/styles.xml
+++ b/res-common/values/styles.xml
@@ -63,7 +63,7 @@
</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>