Uh oh! We couldn’t find any match.

Please try other search keywords.

Bixby Developer Center

Guides

layout

optional

Defines the layout of the given view. You can define this in a separate *.layout.bxb file, under the appropriate locale-specific resources folder, or directly in the given view. For more information, see Layouts.

You can loop the components within a layout's content if needed using a for-each loop:

Examples

// Part of a larger view file
// Also demonstrates how to use the `for-each` loop
...
layout {
content {
for-each (x) {
as (y) {
section {
content {
...
}
}
}
}
}
...
// resources/base/layouts/details/RideShare_Details.layout.bxb
layout {
match: RideShare (rideShare)
mode (Details)

content {
section {
content {
map-card {
...
}
}
}
}
}

Child Keys

content
required
Layout container that holds informational content
match
required
Use match patterns to dynamically lookup the appropriate response for the current context
mode
required
Defines the layout type and/or which layout file to call