added in version 22.1.0
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
Summary:
Nested Classes
| Inherited Constants
| Inherited Fields
| Ctors
| Methods
| Protected Methods
| Inherited Methods
| [Expand All]
SearchBar
public
class
SearchBar
extends RelativeLayout
java.lang.Object | ||||
↳ | android.view.View | |||
↳ | android.view.ViewGroup | |||
↳ | android.widget.RelativeLayout | |||
↳ | android.support.v17.leanback.widget.SearchBar |
A search widget containing a search orb and a text entry view.
Note: When SpeechRecognitionCallback
is not used, i.e. using SpeechRecognizer
,
your application will need to declare android.permission.RECORD_AUDIO in manifest file.
If your application target >= 23 and the device is running >= 23, it needs implement
SearchBar.SearchBarPermissionListener
where requests runtime permission.
Summary
Nested classes | |
---|---|
interface |
SearchBar.SearchBarListener
Interface for receiving notification of search query changes. |
interface |
SearchBar.SearchBarPermissionListener
Interface that handles runtime permissions requests. |
Inherited constants |
---|
![]()
android.widget.RelativeLayout
|
![]()
android.view.ViewGroup
|