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

Commit 70da7606 authored by Nancy Chen's avatar Nancy Chen Committed by Android (Google) Code Review
Browse files

Merge "Update directory header to not pin the headers and update style" into lmp-dev

parents 8bfd41c1 cd735586
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@
    <dimen name="search_box_expanded_text_margin_left">26dp</dimen>
    <!-- Size of the icon (voice search, close search) in the search box. -->
    <dimen name="search_box_icon_size">28dp</dimen>
    <dimen name="search_list_padding_top">8dp</dimen>
    <dimen name="search_list_padding_top">16dp</dimen>
    <dimen name="search_box_elevation">2dp</dimen>

    <!-- Padding to the left and right of call log action buttons. -->
+9 −0
Original line number Diff line number Diff line
@@ -143,6 +143,15 @@ public class SearchFragment extends PhoneNumberPickerFragment {
        return adapter;
    }

    @Override
    protected void configureAdapter() {
        super.configureAdapter();
        final ContactEntryListAdapter adapter = getAdapter();
        if (adapter != null) {
            getAdapter().setPinnedPartitionHeadersEnabled(false);
        }
    }

    @Override
    protected void onItemClick(int position, long id) {
        final DialerPhoneNumberListAdapter adapter = (DialerPhoneNumberListAdapter) getAdapter();