Java android.widget Button fields, constructors, methods, implement or subclass

Example usage for Java android.widget Button fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.widget Button.

The text is from its open source code.

Subclass

android.widget.Button has subclasses.
Click this link to see all its subclasses.

Constructor

Button(Context context)
Simple constructor to use when creating a button from code.
Button(Context context, AttributeSet attrs, int defStyleAttr)
This constructor allows a Button subclass to use its own class-specific base style from a theme attribute when inflating.

Method

booleanequals(Object obj)
Indicates whether some other object is "equal to" this one.