From 0355455b6f17731e68a23c1448b1539b5dad3eb9 Mon Sep 17 00:00:00 2001 From: Amith Yamasani Date: Thu, 30 Jul 2009 23:57:05 -0700 Subject: [PATCH] Flip the use of triangle icon on the right of settings. Triangle will now only show up for preferences that have dialogs popup when selected - like lists, sliders, EditTexts and Yes/No dialogs. This is a change for the base preferences. If any subclasses override and specify a different layout or normal preferences display a dialog when pressed, they may not follow the new style. --- core/res/res/layout/preference_dialog.xml | 26 +++++++++++++++++++++++ core/res/res/values/styles.xml | 3 ++- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 core/res/res/layout/preference_dialog.xml diff --git a/core/res/res/layout/preference_dialog.xml b/core/res/res/layout/preference_dialog.xml new file mode 100644 index 0000000000000..5cf0f6e22b7f0 --- /dev/null +++ b/core/res/res/layout/preference_dialog.xml @@ -0,0 +1,26 @@ + + + + + + diff --git a/core/res/res/values/styles.xml b/core/res/res/values/styles.xml index 6df8b0abd26ef..4aa4210fb2bc5 100644 --- a/core/res/res/values/styles.xml +++ b/core/res/res/values/styles.xml @@ -659,12 +659,12 @@