From 19f5783b75567a4a69d80f0fca1baaacf81c12db Mon Sep 17 00:00:00 2001 From: Fan Zhang Date: Tue, 25 Apr 2017 13:51:01 -0700 Subject: [PATCH] Use framework support to reserve icon space Framework now has iconSpaceReserved attr to support reserving icon space. We no longer need to use a custom layout for each preference. What's removed: - custom style for normal preference - custom layout/style for dropdown preference - custom style for EditTextPreference Fix: 37572422 Test: visual Change-Id: I48d2997e6269143f58c2edd2d9902cdc0519ed04 --- .../preference_dropdown_material_settings.xml | 35 ------------------- res/values/styles_preference.xml | 10 +++--- 2 files changed, 4 insertions(+), 41 deletions(-) delete mode 100644 res/layout/preference_dropdown_material_settings.xml diff --git a/res/layout/preference_dropdown_material_settings.xml b/res/layout/preference_dropdown_material_settings.xml deleted file mode 100644 index 22f98b60e6e..00000000000 --- a/res/layout/preference_dropdown_material_settings.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - \ No newline at end of file diff --git a/res/values/styles_preference.xml b/res/values/styles_preference.xml index d9124c577c5..a5e8b605b1f 100644 --- a/res/values/styles_preference.xml +++ b/res/values/styles_preference.xml @@ -28,11 +28,11 @@ - - +