Forces a space between two inline elements, such as inline image and the text in a single-line component. The exact spacing size between items within a single-line vary per device. You can customize the spacer size with the size key.
single-line {
text {
style (Title_S)
value ("Smile!")
}
spacer
image {
shape (Circle)
style (Detail_M)
url (myURL/smile.png)
}
spacer
text {
style (Detail_M_Soft)
value ("Be happy.")
}
}| size optional | Determines the size of the inline spacer |
Copyright 2026 Samsung All rights reserved