From 435c6ca0144530bd0cecd2b001456b9e2ec393bc Mon Sep 17 00:00:00 2001 From: Sundeep Ghuman Date: Mon, 6 Feb 2017 18:31:42 -0800 Subject: [PATCH] Change PreferenceCategory margins. Top and bottom margins of the frame layout are changed to 8dp per bug request. A 16dp top margin was added to the title in order to match mocks provided in bug. This also fixes the WifiPicker currently connectected access point to make it centered. Bug: 34978500, 34714183 Test: Visual. See screenshot in comments. Change-Id: Idfa978b2defeb9b3f16651d670c5578f33b02656 --- res/layout/preference_category_material_settings.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/res/layout/preference_category_material_settings.xml b/res/layout/preference_category_material_settings.xml index e9ce9b5241c..de53ce23fde 100644 --- a/res/layout/preference_category_material_settings.xml +++ b/res/layout/preference_category_material_settings.xml @@ -21,9 +21,9 @@ xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginBottom="16dp" - android:paddingStart="?android:attr/listPreferredItemPaddingStart" - android:paddingTop="16dp"> + android:layout_marginTop="8dp" + android:layout_marginBottom="8dp" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" >