Moving up avatar by 1dp (1/2)
Bug:30404485
Change-Id: I2de5d5b397fe263bbeebf4773c8d569743c49de9
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index a3b097f..f577f50 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -256,11 +256,7 @@
<!-- Width of the box around a tab when the tab has focus -->
<dimen name="tab_focused_stroke_width">1dp</dimen>
- <!-- This value should be kept at (?android:attr/listPreferredItemHeight -
- @dimen/contact_browser_list_item_photo_size) / 2 or greater. Otherwise, this padding
- will never take affect inside list items. As a result, the padding at the very top
- of ListView's will not match the padding inside list items -->
- <dimen name="contact_browser_list_item_padding_top_or_bottom">8dp</dimen>
+ <dimen name="contact_browser_list_item_padding_top_or_bottom">7dp</dimen>
<dimen name="contact_browser_list_item_height">56dp</dimen>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 84a8d73..ed97687 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -92,6 +92,7 @@
<item name="contact_browser_background">@color/background_primary</item>
<item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
<item name="list_item_text_offset_top">-2dp</item>
+ <item name="list_item_avatar_offset_top">-1dp</item>
<!-- Favorites -->
<item name="favorites_padding_bottom">0dip</item>
</style>
@@ -171,6 +172,7 @@
<item name="contact_browser_background">@color/background_primary</item>
<item name="list_item_text_indent">@dimen/contact_browser_list_item_text_indent</item>
<item name="list_item_text_offset_top">-2dp</item>
+ <item name="list_item_avatar_offset_top">-1dp</item>
<!-- Favorites -->
<item name="favorites_padding_bottom">0dip</item>
<item name="drawerArrowStyle">@style/DrawerArrowStyle</item>