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

Commit 77a9c0d2 authored by Josh Gargus's avatar Josh Gargus
Browse files

Proper header underline length in search results.

The directory header underline on tablet extended all the way to
the edge of the right panel.  Now it respects the distance specified
by "?attr/list_item_padding_right".

Bug: 5684945
Change-Id: I331701dbbf60445a9c053efa0fc7165681287fe6
parent 3607687e
Loading
Loading
Loading
Loading
+45 −38
Original line number Diff line number Diff line
@@ -15,17 +15,23 @@
-->

<!-- Layout used for list section separators. -->
<LinearLayout
<FrameLayout
    xmlns:android="http://schemas.android.com/apk/res/android"
    style="@style/DirectoryHeader"
    android:id="@+id/directory_header"
    android:paddingLeft="?attr/list_item_padding_left"
    android:paddingRight="?attr/list_item_padding_right"
    android:minHeight="@dimen/list_section_divider_min_height"
    android:layout_marginTop="@dimen/list_header_extra_top_padding"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    >
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:gravity="center_vertical"
    android:minHeight="@dimen/list_section_divider_min_height"
        android:background="@drawable/list_section_divider_holo_custom"
    android:layout_marginTop="@dimen/list_header_extra_top_padding"
    android:paddingLeft="?attr/list_item_padding_left"
    android:paddingRight="?attr/list_item_padding_right">
        >
        <TextView
            android:id="@+id/label"
            android:layout_width="wrap_content"
@@ -58,3 +64,4 @@
            android:textSize="12sp"
            android:textColor="@color/contact_count_text_color" />
    </LinearLayout>
</FrameLayout>