Loading core/java/android/app/SearchDialog.java +7 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,13 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS * @param context Application Context we can use for system acess */ public SearchDialog(Context context) { super(context, com.android.internal.R.style.Theme_SearchBar); super(context, resolveDefaultTheme(context, 0)); } static int resolveDefaultTheme(Context context, int theme) { return Dialog.resolveDefaultTheme(context, theme, android.R.styleable.Theme_searchDialogTheme, com.android.internal.R.style.Theme_SearchBar); } /** Loading core/res/res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -311,6 +311,7 @@ <eat-comment /> <attr name="dialogTheme" format="reference" /> <attr name="alertDialogTheme" format="reference" /> <attr name="searchDialogTheme" format="reference" /> <!-- ============ --> <!-- Alert Dialog styles --> Loading core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -1103,6 +1103,7 @@ <public type="attr" name="dialogTheme" id="0x0101028a" /> <public type="attr" name="alertDialogTheme" id="0x0101028b" /> <public type="attr" name="searchDialogTheme" id="0x0101028d" /> <public type="attr" name="listItemTextViewStyle" id="0x0101028c" /> <!-- Someone is already using 0x0101028a? --> <eat-comment /> Loading core/res/res/values/themes.xml +1 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ <item name="dialogTheme">@android:style/Theme.Dialog</item> <item name="alertDialogTheme">@android:style/Theme.Dialog.Alert</item> <item name="alertDialogStyle">@android:style/AlertDialog</item> <item name="searchDialogTheme">@android:style/Theme.SearchBar</item> <!-- Panel attributes --> <item name="panelBackground">@android:drawable/menu_background</item> Loading Loading
core/java/android/app/SearchDialog.java +7 −1 Original line number Diff line number Diff line Loading @@ -134,7 +134,13 @@ public class SearchDialog extends Dialog implements OnItemClickListener, OnItemS * @param context Application Context we can use for system acess */ public SearchDialog(Context context) { super(context, com.android.internal.R.style.Theme_SearchBar); super(context, resolveDefaultTheme(context, 0)); } static int resolveDefaultTheme(Context context, int theme) { return Dialog.resolveDefaultTheme(context, theme, android.R.styleable.Theme_searchDialogTheme, com.android.internal.R.style.Theme_SearchBar); } /** Loading
core/res/res/values/attrs.xml +1 −0 Original line number Diff line number Diff line Loading @@ -311,6 +311,7 @@ <eat-comment /> <attr name="dialogTheme" format="reference" /> <attr name="alertDialogTheme" format="reference" /> <attr name="searchDialogTheme" format="reference" /> <!-- ============ --> <!-- Alert Dialog styles --> Loading
core/res/res/values/public.xml +1 −0 Original line number Diff line number Diff line Loading @@ -1103,6 +1103,7 @@ <public type="attr" name="dialogTheme" id="0x0101028a" /> <public type="attr" name="alertDialogTheme" id="0x0101028b" /> <public type="attr" name="searchDialogTheme" id="0x0101028d" /> <public type="attr" name="listItemTextViewStyle" id="0x0101028c" /> <!-- Someone is already using 0x0101028a? --> <eat-comment /> Loading
core/res/res/values/themes.xml +1 −0 Original line number Diff line number Diff line Loading @@ -116,6 +116,7 @@ <item name="dialogTheme">@android:style/Theme.Dialog</item> <item name="alertDialogTheme">@android:style/Theme.Dialog.Alert</item> <item name="alertDialogStyle">@android:style/AlertDialog</item> <item name="searchDialogTheme">@android:style/Theme.SearchBar</item> <!-- Panel attributes --> <item name="panelBackground">@android:drawable/menu_background</item> Loading