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

Commit 86e111a0 authored by Gilles Debunne's avatar Gilles Debunne
Browse files

Removed vertical padding in PreferenceActivity header list on phones

Bug 4966736

Change-Id: I426c2be016568b00e176f9af9bb9cf752092e3d2
parent 532fee45
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -44,8 +44,8 @@
                android:layout_width="match_parent"
                android:layout_height="0px"
                android:layout_weight="1"
                android:paddingTop="16dp"
                android:paddingBottom="16dp"
                android:paddingTop="@dimen/preference_screen_header_vertical_padding"
                android:paddingBottom="@dimen/preference_screen_header_vertical_padding"
                android:drawSelectorOnTop="false"
                android:cacheColorHint="@android:color/transparent"
                android:listPreferredItemHeight="48dp"
+2 −0
Original line number Diff line number Diff line
@@ -44,5 +44,7 @@
    <!-- Size of status line font in LockScreen. -->
    <dimen name="keyguard_pattern_unlock_status_line_font_size">14sp</dimen>

    <!-- Preference activity, vertical padding for the header list -->
    <dimen name="reference_screen_header_vertical_padding">16dp</dimen>
</resources>
+2 −0
Original line number Diff line number Diff line
@@ -96,6 +96,8 @@
         is along the major axis (that is the screen is landscape).  This may
         be either a fraction or a dimension. -->
    <item type="dimen" name="dialog_min_width_major">65%</item>
    <!-- Preference activity, vertical padding for the header list -->
    <dimen name="preference_screen_header_vertical_padding">0dp</dimen>

    <!-- The platform's desired minimum size for a dialog's width when it
         is along the minor axis (that is the screen is portrait).  This may