Position of the feed title relative to video thumbnails.
Values:
NESTED - Title overlays the thumbnail
STACKED - Title appears below the thumbnail
aspectRatio
Type:DoubleDefault: 9:16
Custom aspect ratio for video items.
Note: If not specified, the SDK uses the 9:16 aspect ratio.
Thumbnail Selection Rules
Format Requirements - The SDK currently supports JPG format images only.
The SDK selects thumbnails according to the following priority:
The system will automatically extract a frame from the video and generate a default thumbnail matching the video's aspect ratio
When only a Vertical Image Poster or Horizontal Image Poster is uploaded
The system will use the uploaded poster as the thumbnail
When both Vertical and Horizontal Image Posters are uploaded
The Carousel component will automatically select the poster image that most closely matches its Item's aspect ratio as the thumbnail
Default Values
Property
Default Value
feedLayout
HORIZONTAL
columnCount
2
backgroundColor
Transparent
feedPadding
null
itemSpacing
0
roundedCorner
false
roundedCornerRadius
5 (when enabled)
showPlayIcon
true
playIconWidth
24dp
feedTitlePosition
NESTED
aspectRatio
9:16
Layout Type Examples
Horizontal Layout
Displays videos in a single horizontal scrolling row.
Vertical Layout
Displays videos in a single vertical scrolling column.
Grid Layout
Displays videos in a multi-column grid.
Complete Examples
Modern Grid Feed
Horizontal Story Feed
Product Gallery Grid
Important Notes
columnCount only affects grid layouts
roundedCornerRadius only applies when roundedCorner is true
Item spacing is in pixels - use dpToPx() for density-independent values
Aspect ratio can be calculated as width.0 / height.0
Background color affects the feed container, not individual thumbnails
Layout changes require re-initializing the feed view