Intelligent Assistant
Chat with our virtual assistant to get answers promptly.
Defines Button node types for NativeNode APIs.
File to include: <arkui/node_attributes/button.h>
Library: libace_ndk.z.so
System capability: SystemCapability.ArkUI.ArkUI.Full
Since: 12
Related module: ArkUI_NativeModule
Sample: NativeTypeSample
| Name | typedef Keyword | Description |
|---|---|---|
| ArkUI_ButtonType | ArkUI_ButtonType | Enumerates the button types. |
enum ArkUI_ButtonType
Description
Enumerates the button types.
Since: 12
| Value | Description |
|---|---|
| ARKUI_BUTTON_TYPE_NORMAL = 0 | Normal button (without rounded corners by default). |
| ARKUI_BUTTON_TYPE_CAPSULE = 1 | Capsule-type button (the round corner is half of the height by default). |
| ARKUI_BUTTON_TYPE_CIRCLE = 2 | Circle button. |
| ARKUI_BUTTON_ROUNDED_RECTANGLE = 8 | Rounded rectangle button. Since: 19 |