Bixby Developer Center

Guides
References

partitioned

optionalmultiple allowed

Container key that creates a separator between each sectioned item, separating each item with a line. For example, you can create partitioned content for several paragraphs. In another example, you could separate each hbox element with a line using a partitioned container. Use the divider for non-recurring information instead.

Examples

result-view {
match: Hotel (hotel) {
from-output: ShowHotelPartitioned
}

message {
template ("Here are partitioned hotel amenities:")
}

render {
layout {
section {
content {
partitioned {
content {
for-each (hotel.amenities) {
as (amenity) {
single-line {
text {
value ("#{value(amenity)}")
style (Detail_L)
}
}
}
}
}
}
}
}
}
}
}

View on GitHub

Note

This partition uses a for-each loop, so that if there are several results, each result prints in its own single-line component.

Here is how a partitioned appears on different devices:

MobileWatchTVFridge
partitionedpartitionedpartitionedpartitioned
Note

The look and feel of this Views component might differ between devices, specifically with respect to spacing. Mobile, tablet, and fridge devices are similar in design, for example, but have varying resolution and spacing specifications.

Design Considerations

This component is applicable to this moment:

You can find design specifications for this component in the Components Spec download under Design Resources.

Child Keys

content
optional
Layout container that holds informational content
title[deprecated]
optional
The title for the partitioned section