Quicknav
Quicknav
Design
Develop
Distribute
Links
Google Play Developer Console
Android Developers Blog
About Android
Android Sites
Android.com
Android Developers
Android Open Source Project
close
Get Started
Style
Patterns
Building Blocks
Downloads
Videos
Training
API Guides
Reference
Tools
Get the SDK
Google Services
Google Play
Publishing
Promoting
App Quality
Spotlight
Open Distribution
Results
Loading...
Training
API Guides
Reference
Tools
Google Services
to top
API level:
Android APIs
android
android.accessibilityservice
android.accounts
android.animation
android.app
android.app.admin
android.app.backup
android.appwidget
android.bluetooth
android.content
android.content.pm
android.content.res
android.database
android.database.sqlite
android.drm
android.gesture
android.graphics
android.graphics.drawable
android.graphics.drawable.shapes
android.graphics.pdf
android.hardware
android.hardware.display
android.hardware.input
android.hardware.location
android.hardware.usb
android.inputmethodservice
android.location
android.media
android.media.audiofx
android.media.effect
android.mtp
android.net
android.net.http
android.net.nsd
android.net.rtp
android.net.sip
android.net.wifi
android.net.wifi.p2p
android.net.wifi.p2p.nsd
android.nfc
android.nfc.cardemulation
android.nfc.tech
android.opengl
android.os
android.os.storage
android.preference
android.print
android.print.pdf
android.printservice
android.provider
android.renderscript
android.sax
android.security
android.service.dreams
android.service.notification
android.service.textservice
android.service.wallpaper
android.speech
android.speech.tts
android.support.v13.app
android.support.v4.accessibilityservice
android.support.v4.app
android.support.v4.content
android.support.v4.content.pm
android.support.v4.database
android.support.v4.graphics.drawable
android.support.v4.hardware.display
android.support.v4.media
android.support.v4.net
android.support.v4.os
android.support.v4.print
android.support.v4.text
android.support.v4.util
android.support.v4.view
android.support.v4.view.accessibility
android.support.v4.widget
android.support.v7.app
android.support.v7.appcompat
android.support.v7.gridlayout
android.support.v7.media
android.support.v7.mediarouter
android.support.v7.view
android.support.v7.widget
android.support.v8.renderscript
android.telephony
android.telephony.cdma
android.telephony.gsm
android.test
android.test.mock
android.test.suitebuilder
android.text
android.text.format
android.text.method
android.text.style
android.text.util
android.transition
android.util
android.view
android.view.accessibility
android.view.animation
android.view.inputmethod
android.view.textservice
android.webkit
android.widget
dalvik.bytecode
dalvik.system
java.awt.font
java.beans
java.io
java.lang
java.lang.annotation
java.lang.ref
java.lang.reflect
java.math
java.net
java.nio
java.nio.channels
java.nio.channels.spi
java.nio.charset
java.nio.charset.spi
java.security
java.security.acl
java.security.cert
java.security.interfaces
java.security.spec
java.sql
java.text
java.util
java.util.concurrent
java.util.concurrent.atomic
java.util.concurrent.locks
java.util.jar
java.util.logging
java.util.prefs
java.util.regex
java.util.zip
javax.crypto
javax.crypto.interfaces
javax.crypto.spec
javax.microedition.khronos.egl
javax.microedition.khronos.opengles
javax.net
javax.net.ssl
javax.security.auth
javax.security.auth.callback
javax.security.auth.login
javax.security.auth.x500
javax.security.cert
javax.sql
javax.xml
javax.xml.datatype
javax.xml.namespace
javax.xml.parsers
javax.xml.transform
javax.xml.transform.dom
javax.xml.transform.sax
javax.xml.transform.stream
javax.xml.validation
javax.xml.xpath
junit.framework
junit.runner
org.apache.http
org.apache.http.auth
org.apache.http.auth.params
org.apache.http.client
org.apache.http.client.entity
org.apache.http.client.methods
org.apache.http.client.params
org.apache.http.client.protocol
org.apache.http.client.utils
org.apache.http.conn
org.apache.http.conn.params
org.apache.http.conn.routing
org.apache.http.conn.scheme
org.apache.http.conn.ssl
org.apache.http.conn.util
org.apache.http.cookie
org.apache.http.cookie.params
org.apache.http.entity
org.apache.http.impl
org.apache.http.impl.auth
org.apache.http.impl.client
org.apache.http.impl.conn
org.apache.http.impl.conn.tsccm
org.apache.http.impl.cookie
org.apache.http.impl.entity
org.apache.http.impl.io
org.apache.http.io
org.apache.http.message
org.apache.http.params
org.apache.http.protocol
org.apache.http.util
org.json
org.w3c.dom
org.w3c.dom.ls
org.xml.sax
org.xml.sax.ext
org.xml.sax.helpers
org.xmlpull.v1
org.xmlpull.v1.sax2
Interfaces
AbsListView.MultiChoiceModeListener
AbsListView.OnScrollListener
AbsListView.RecyclerListener
AbsListView.SelectionBoundsAdjuster
Adapter
AdapterView.OnItemClickListener
AdapterView.OnItemLongClickListener
AdapterView.OnItemSelectedListener
Advanceable
AutoCompleteTextView.OnDismissListener
AutoCompleteTextView.Validator
CalendarView.OnDateChangeListener
Checkable
Chronometer.OnChronometerTickListener
CompoundButton.OnCheckedChangeListener
DatePicker.OnDateChangedListener
ExpandableListAdapter
ExpandableListView.OnChildClickListener
ExpandableListView.OnGroupClickListener
ExpandableListView.OnGroupCollapseListener
ExpandableListView.OnGroupExpandListener
Filter.FilterListener
Filterable
FilterQueryProvider
HeterogeneousExpandableList
ListAdapter
MediaController.MediaPlayerControl
MultiAutoCompleteTextView.Tokenizer
NumberPicker.Formatter
NumberPicker.OnScrollListener
NumberPicker.OnValueChangeListener
PopupMenu.OnDismissListener
PopupMenu.OnMenuItemClickListener
PopupWindow.OnDismissListener
RadioGroup.OnCheckedChangeListener
RatingBar.OnRatingBarChangeListener
RemoteViewsService.RemoteViewsFactory
SearchView.OnCloseListener
SearchView.OnQueryTextListener
SearchView.OnSuggestionListener
SectionIndexer
SeekBar.OnSeekBarChangeListener
ShareActionProvider.OnShareTargetSelectedListener
SimpleAdapter.ViewBinder
SimpleCursorAdapter.CursorToStringConverter
SimpleCursorAdapter.ViewBinder
SimpleCursorTreeAdapter.ViewBinder
SlidingDrawer.OnDrawerCloseListener
SlidingDrawer.OnDrawerOpenListener
SlidingDrawer.OnDrawerScrollListener
SpinnerAdapter
TabHost.OnTabChangeListener
TabHost.TabContentFactory
TextView.OnEditorActionListener
TimePicker.OnTimeChangedListener
ViewSwitcher.ViewFactory
WrapperListAdapter
ZoomButtonsController.OnZoomListener
Classes
AbsListView
AbsListView.LayoutParams
AbsoluteLayout
AbsoluteLayout.LayoutParams
AbsSeekBar
AbsSpinner
AdapterView
AdapterView.AdapterContextMenuInfo
AdapterViewAnimator
AdapterViewFlipper
AlphabetIndexer
AnalogClock
ArrayAdapter
AutoCompleteTextView
BaseAdapter
BaseExpandableListAdapter
Button
CalendarView
CheckBox
CheckedTextView
Chronometer
CompoundButton
CursorAdapter
CursorTreeAdapter
DatePicker
DialerFilter
DigitalClock
EdgeEffect
EditText
ExpandableListView
ExpandableListView.ExpandableListContextMenuInfo
Filter
Filter.FilterResults
FrameLayout
FrameLayout.LayoutParams
Gallery
Gallery.LayoutParams
GridLayout
GridLayout.Alignment
GridLayout.LayoutParams
GridLayout.Spec
GridView
HeaderViewListAdapter
HorizontalScrollView
ImageButton
ImageSwitcher
ImageView
LinearLayout
LinearLayout.LayoutParams
ListPopupWindow
ListView
ListView.FixedViewInfo
MediaController
MultiAutoCompleteTextView
MultiAutoCompleteTextView.CommaTokenizer
NumberPicker
OverScroller
PopupMenu
PopupWindow
ProgressBar
QuickContactBadge
RadioButton
RadioGroup
RadioGroup.LayoutParams
RatingBar
RelativeLayout
RelativeLayout.LayoutParams
RemoteViews
RemoteViewsService
ResourceCursorAdapter
ResourceCursorTreeAdapter
Scroller
ScrollView
SearchView
SeekBar
ShareActionProvider
SimpleAdapter
SimpleCursorAdapter
SimpleCursorTreeAdapter
SimpleExpandableListAdapter
SlidingDrawer
Space
Spinner
StackView
Switch
TabHost
TabHost.TabSpec
TableLayout
TableLayout.LayoutParams
TableRow
TableRow.LayoutParams
TabWidget
TextClock
TextSwitcher
TextView
TextView.SavedState
TimePicker
Toast
ToggleButton
TwoLineListItem
VideoView
ViewAnimator
ViewFlipper
ViewSwitcher
ZoomButton
ZoomButtonsController
ZoomControls
Enums
ImageView.ScaleType
TextView.BufferType
Exceptions
RemoteViews.ActionException
fullscreen
Use Tree Navigation
Use Panel Navigation
Added in
API level 11
public static interface
SearchView.OnCloseListener
android.widget.SearchView.OnCloseListener
Summary
Public Methods
abstract boolean
onClose
()
The user is attempting to close the SearchView.
Public Methods
public abstract boolean
onClose
()
Added in
API level 11
The user is attempting to close the SearchView.
Returns
true if the listener wants to override the default behavior of clearing the text field and dismissing it, false otherwise.