ZoomButton(context: Context!)
Default constructor that takes context to initialize this subclass of AppCompatImageView
.
context
- Context!: view context.
ZoomButton(context: Context!, attrs: AttributeSet!)
Custom constructor to provide custom set of attributes.
context
- Context!: view context.
attrs
- AttributeSet!: set of custom attributes.
ZoomButton(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)
Custom constructor to provide custom set of attributes and a reference to default style resource.
context
- Context!: view context.
attrs
- AttributeSet!: set of custom attributes.
defStyleAttr
- Int: attribute that contains a reference to a style resource, that supplies default values for styled attributes. Should be different than 0 in this constructor, otherwise use ZoomButton#ZoomButton(Context, AttributeSet)
.