Layout
Layout refers to the visual arrangement and organization of elements on a screen or page within the app. It determines how users will see and interact with the app's content and functionality.
About the component

- Last Update 25 Oct, 2023
- Component Version : 4.0.0
- API 21, Android 5.0 Lollipop
- 40 Blocks Available
Horizontal Arrangement
This component arranges its child components horizontally. It provides properties for controlling the arrangement's appearance, alignment, and behavior, including background color, image, shadow, clickability, and card view options.
Overview
A visible component that, align the view from left to right.
Events
Methods
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | BGColor | color | - |
2 | Stroke | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | left | Integer | 0 |
2 | right | Integer | 0 |
3 | top | Integer | 0 |
4 | bottom | Integer | 0 |
Properties
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get AlignHorizontal | Integer | 1 |
2 | set AlignHorizontal | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get AlignVertical | Integer | 1 |
2 | set AlignVertical | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get BackgroundColor | color | #00000000 |
2 | set BackgroundColor | color | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get CardRadius | Integer | 10 |
2 | set CardRadius | Integer | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Clickable | boolean | false |
2 | set Clickable | boolean | - |
3 | set FullClickable | boolean | false |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Elevation | boolean | false |
2 | set Elevation | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Height | Integer | -1 |
2 | set Height | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Width | Integer | -1 |
2 | set width | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | set heightPercent | Integer | - |
2 | set widthPercent | Integer | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Image | text | - |
2 | set Image | text | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get LongClickable | boolean | false |
2 | set LongClickable | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get ShadowColor | color | #FFFFFF00 |
2 | set ShadowColor | color | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get TouchColorEnabled | boolean | false |
2 | set TouchColorEnabled | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get UseRoundCard | boolean | false |
2 | set UseRoundCard | boolean | - |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get IsCard | boolean | false |
2 | set IsCard | boolean | 0 |
# | Name | Type(s) | Default Value |
---|---|---|---|
1 | get Visible | boolean | true |
2 | set Visible | boolean | - |