Commit d8870a40 authored by Boris Sazonov's avatar Boris Sazonov Committed by Commit Bot

[Android] Use listDivider theme attribute for dividers

Previous divider implementation looked thicker than the standard ones
(see the bug for screenshots). This CL fixes the issue by using
listDivider theme attribute instead of explicitly specifying divider
size and color. This CL also introduces a couple of textApperance styles
to overcome presubmit errors.

Bug: 877482
Change-Id: Iab448228ca34cd1d6fd443768fe009b14d7f9e3e
Reviewed-on: https://chromium-review.googlesource.com/1191703
Commit-Queue: Boris Sazonov <bsazonov@chromium.org>
Reviewed-by: default avatarTed Choc <tedchoc@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586789}
parent 26171c8a
......@@ -225,13 +225,13 @@
<style name="HorizontalDivider">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">@dimen/divider_height</item>
<item name="android:background">@color/google_grey_300</item>
<item name="android:background">?android:attr/listDivider</item>
<item name="android:importantForAccessibility">no</item>
</style>
<style name="VerticalDivider">
<item name="android:layout_width">@dimen/divider_height</item>
<item name="android:layout_height">match_parent</item>
<item name="android:background">@color/google_grey_300</item>
<item name="android:background">?android:attr/listDivider</item>
<item name="android:importantForAccessibility">no</item>
</style>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment