class Button
(source)
A button to be shown in a toolbar inside the browser menu.
imageResource
- ID of a drawable resource to be shown as icon.
contentDescription
- The button's content description, used for accessibility support.
iconTintColorResource
- Optional ID of color resource to tint the icon.
listener
- Callback to be invoked when the button is pressed.
Button(: Int, : String, : Int = 0, : () -> Unit)
A button to be shown in a toolbar inside the browser menu. |
val contentDescription: String
The button's content description, used for accessibility support. |
|
val iconTintColorResource: Int
Optional ID of color resource to tint the icon. |
|
val imageResource: Int
ID of a drawable resource to be shown as icon. |
|
val listener: () -> Unit
Callback to be invoked when the button is pressed. |