-
Notifications
You must be signed in to change notification settings - Fork 19
6a. Cell: Group
i_82 edited this page Mar 13, 2022
·
4 revisions
Group cells are separators of different sections in XUI TableView. For example, cells between the first Group cell and the next Group cell will be displayed in the first section.
| Key | Type | Description | Flags | Default |
|---|---|---|---|---|
| label | String | tableView:titleForHeaderInSection: |
Optional, Localizable | "" |
| footerText | String | tableView:titleForFooterInSection: |
Optional, Localizable | "" |
icon/height are not supported.
theme Key |
Type | Description |
|---|---|---|
| groupHeaderTextColor | color | color of section header title, i.e. the color of label
|
| groupFooterTextColor | color | color of section footer title, i.e. the color of footerText
|
| groupHeaderBackgroundColor | color | color of section header background |
| groupFooterBackgroundColor | color | color of section footer background |
{
"items": [
{
"cell": "Group",
"label": "Switch"
},
{
"default": true,
"label": "Enabled",
"cell": "Switch",
"key": "switch1",
"icon": "res/16.png"
},
{
"cell": "Group",
"label": "Button"
},
{
"url": "https://www.xxtouch.com",
"cell": "Link",
"label": "Open XXTouch.com"
},
{
"cell": "Button",
"action": "OpenURL:",
"label": "Contact i.82@me.com",
"args": {
"url": "mailto://i.82@me.com"
}
}
]
}