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

Commit 66c1d13e authored by Danny Baumann's avatar Danny Baumann Committed by Steve Kondik
Browse files

Fix up group fragment padding.

Change-Id: I0030dbef9afb54b08511b5a499225add1ef995a3
parent 5dbae013
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -18,10 +18,6 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="?attr/list_item_padding_left"
    android:layout_marginRight="?attr/list_item_padding_right"
    android:layout_marginStart="?attr/list_item_padding_left"
    android:layout_marginEnd="?attr/list_item_padding_right"
    android:background="@drawable/list_section_divider_holo_custom"
    android:orientation="horizontal">

+0 −4
Original line number Diff line number Diff line
@@ -18,10 +18,6 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:layout_marginLeft="?attr/list_item_padding_left"
    android:layout_marginRight="?attr/list_item_padding_right"
    android:layout_marginStart="?attr/list_item_padding_left"
    android:layout_marginEnd="?attr/list_item_padding_right"
    android:paddingBottom="6dip"
    android:background="@drawable/list_section_divider_holo_custom"
    android:gravity="center_vertical"
+0 −4
Original line number Diff line number Diff line
@@ -27,10 +27,6 @@
      class="com.android.contacts.common.list.AutoScrollListView"
      android:layout_width="match_parent"
      android:layout_height="0dip"
      android:paddingLeft="16dip"
      android:paddingRight="16dip"
      android:paddingStart="16dip"
      android:paddingEnd="16dip"
      android:scrollbarStyle="outsideOverlay"
      android:layout_weight="1"
      android:fadingEdge="none"
+1 −5
Original line number Diff line number Diff line
@@ -30,16 +30,14 @@
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:paddingLeft="?attr/list_item_padding_left"
    android:paddingStart="?attr/list_item_padding_left"
    android:paddingEnd="?attr/list_item_padding_right"
    android:minHeight="@dimen/detail_min_line_item_height" >

    <View
        android:id="@+id/divider"
        android:layout_width="match_parent"
        android:layout_height="1dip"
        android:layout_marginRight="?attr/list_item_padding_right"
        android:layout_marginEnd="?attr/list_item_padding_right"
        android:background="@color/secondary_header_separator_color" />

    <include
@@ -51,8 +49,6 @@
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingTop="8dip"
        android:paddingLeft="8dip"
        android:paddingStart="8dip"
        android:paddingBottom="8dip"
        android:orientation="vertical"
        android:duplicateParentState="true"
+0 −11
Original line number Diff line number Diff line
@@ -159,17 +159,6 @@ public class GroupBrowseListFragment extends Fragment
    private void configureVerticalScrollbar() {
        mListView.setVerticalScrollbarPosition(mVerticalScrollbarPosition);
        mListView.setScrollBarStyle(ListView.SCROLLBARS_OUTSIDE_OVERLAY);
        int leftPadding = 0;
        int rightPadding = 0;
        if (mVerticalScrollbarPosition == View.SCROLLBAR_POSITION_LEFT) {
            leftPadding = mContext.getResources().getDimensionPixelOffset(
                    R.dimen.list_visible_scrollbar_padding);
        } else {
            rightPadding = mContext.getResources().getDimensionPixelOffset(
                    R.dimen.list_visible_scrollbar_padding);
        }
        mListView.setPadding(leftPadding, mListView.getPaddingTop(),
                rightPadding, mListView.getPaddingBottom());
    }

    @Override