From 87e67b3366f081f254256da3c1d25c003de1f6cb Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Wed, 1 Mar 2017 17:41:51 -0800 Subject: [PATCH] Align dropdown preference's dropdown with preference text Change-Id: I9446758464fd9220a2670df4203406ba49e24901 Fix: 35807231 Test: RunSettingsRoboTests --- .../preference_dropdown_material_settings.xml | 64 ++----------------- res/layout/restricted_preference_dropdown.xml | 3 +- 2 files changed, 7 insertions(+), 60 deletions(-) diff --git a/res/layout/preference_dropdown_material_settings.xml b/res/layout/preference_dropdown_material_settings.xml index ee4051da87e..22f98b60e6e 100644 --- a/res/layout/preference_dropdown_material_settings.xml +++ b/res/layout/preference_dropdown_material_settings.xml @@ -18,72 +18,18 @@ - + android:layout_height="wrap_content"> - - - + - - - - - - - - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/res/layout/restricted_preference_dropdown.xml b/res/layout/restricted_preference_dropdown.xml index fd0d07da1f1..c93a007b323 100644 --- a/res/layout/restricted_preference_dropdown.xml +++ b/res/layout/restricted_preference_dropdown.xml @@ -23,7 +23,8 @@ class="com.android.settings.notification.RestrictedDropDownPreference$ReselectionSpinner" android:layout_width="0dp" android:layout_height="wrap_content" - android:visibility="invisible" /> + android:visibility="invisible" + android:layout_marginStart="@dimen/preference_no_icon_padding_start"/>