OSDN Git Service

Deprecate showSearchIconAsBadge and icon search attrs
authorBjorn Bringert <bringert@android.com>
Fri, 11 Sep 2009 14:44:51 +0000 (15:44 +0100)
committerBjorn Bringert <bringert@android.com>
Mon, 14 Sep 2009 05:59:50 +0000 (06:59 +0100)
commitab50b86b79936623b5e326f2ed84b3c947c8ec93
treec3dfd2df8393aba3c3e43fdfefde01362c6f4d19
parent3ccfaaa70f25c8343ab45974a7a43cf9b9b15903
Deprecate showSearchIconAsBadge and icon search attrs

mlebeau says:
"Basically, because we now show the app icon for in-app
search, showSearchIconAsBadge is a bit unnecessary, but it does in
fact still work. Basically if either showSearchIconAsBadge or
showSearchLabelAsBadge are specified, we grow the height of the search
bar and place the provided icon or the provided label, respectively,
above the text field and app icon. But we do not remove the app icon
if the developer specifies showSearchIconAsBadge - it's still just the
'badge area' above the icon."

Fixes:
http://b/issue?id=2105329
"Deprecate searchable attributes 'showSearchIconAsBadge' and 'icon'"

Change-Id: Ie2976aafe42b4ab870be9e64b34eb0ed441ebbb0
api/current.xml
core/res/res/values/attrs.xml