Remove the horizontal divider around ActionButtonsPreference
Remove the horizontal divider from App info and App info > Storage since they are not required anymore with the new style. Fixes: 188742417 Test: visual Change-Id: Idc0ab5994694c490ab04fac04a8b114f9fe191a1
This commit is contained in:
@@ -24,27 +24,18 @@
|
||||
android:key="header_view"
|
||||
android:layout="@layout/settings_entity_header"
|
||||
android:selectable="false"
|
||||
android:order="-10000"
|
||||
settings:allowDividerBelow="true"/>
|
||||
android:order="-10000" />
|
||||
|
||||
<com.android.settingslib.widget.LayoutPreference
|
||||
android:key="instant_app_buttons"
|
||||
android:layout="@layout/instant_app_buttons"
|
||||
android:selectable="false"
|
||||
android:order="-9999"
|
||||
settings:allowDividerAbove="true"
|
||||
settings:allowDividerBelow="true"/>
|
||||
android:order="-9999" />
|
||||
|
||||
<com.android.settingslib.widget.ActionButtonsPreference
|
||||
android:key="action_buttons"
|
||||
android:order="-9998" />
|
||||
|
||||
<!-- Add SpacePreference to draw divider -->
|
||||
<com.android.settings.applications.SpacePreference
|
||||
android:layout_height="0dp"
|
||||
android:order="-9997"
|
||||
settings:allowDividerAbove="true" />
|
||||
|
||||
<Preference
|
||||
android:key="app_settings_link"
|
||||
android:title="@string/app_settings_link"
|
||||
|
@@ -22,11 +22,6 @@
|
||||
<com.android.settingslib.widget.ActionButtonsPreference
|
||||
android:key="header_view" />
|
||||
|
||||
<com.android.settings.applications.SpacePreference
|
||||
android:key="storage_space"
|
||||
android:layout_height="8dp"
|
||||
settings:allowDividerAbove="true"/>
|
||||
|
||||
<Preference
|
||||
android:key="storage_used"
|
||||
android:title="@string/storage_used"
|
||||
@@ -41,8 +36,7 @@
|
||||
|
||||
<PreferenceCategory
|
||||
android:key="storage_category"
|
||||
android:title="@string/app_info_storage_title"
|
||||
settings:allowDividerAbove="true">
|
||||
android:title="@string/app_info_storage_title">
|
||||
|
||||
<Preference
|
||||
android:key="app_size"
|
||||
|
Reference in New Issue
Block a user