public class UnfocusableToolbar
extends Toolbar
| Constructor and Description |
|---|
UnfocusableToolbar(android.content.Context context)
Creates a toolbar, which enables touch events to be passed to other views in the event
processing chain, if the "focusable" attribute is set to false.
|
UnfocusableToolbar(android.content.Context context,
android.util.AttributeSet attributeSet)
Creates a toolbar, which enables touch events to be passed to other views in the event
processing chain, if the "focusable" attribute is set to false.
|
UnfocusableToolbar(android.content.Context context,
android.util.AttributeSet attributeSet,
int defaultStyle)
Creates a toolbar, which enables touch events to be passed to other views in the event
processing chain, if the "focusable" attribute is set to false.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
onTouchEvent(android.view.MotionEvent event) |
public UnfocusableToolbar(android.content.Context context)
context - The context, which should be used by the image view, as an instance of the class
Context. The context may not be nullpublic UnfocusableToolbar(android.content.Context context,
android.util.AttributeSet attributeSet)
context - The context, which should be used by the image view, as an instance of the class
Context. The context may not be nullattributeSet - The attributes of the XML tag that is inflating the view, as an instance of the type
AttributeSet or null, if no attributes are availablepublic UnfocusableToolbar(android.content.Context context,
android.util.AttributeSet attributeSet,
int defaultStyle)
context - The context, which should be used by the image view, as an instance of the class
Context. The context may not be nullattributeSet - The attributes of the XML tag that is inflating the view, as an instance of the type
AttributeSet or null, if no attributes are availabledefaultStyle - The default style to apply to this view. If 0, no style will be applied (beyond what
is included in the theme). This may either be an attribute resource, whose value will
be retrieved from the current theme, or an explicit style resource