Widget: Post Action
The PostActionView
is customizable and modular UI component that visually represents a action footer of a post in the feed.
Action View Struture
The Action View is divided into 3 views as per theme selected.
1. Horizontal View
- Used for Social Feed Theme.
- It is a simple horizontal view with like, comment and share icons.
2. QnA Horizontal View
- Used for QnA Feed Theme.
- It is a horizontal action view with upvote icon, comment and share icons.
3. Vertical View
- Used for Video Feed Theme.
- It is a vertical action view with like, comment icons.
View Style: LMFeedPostActionViewStyle
The LMFeedPostActionViewStyle
defines the appearance and layout properties, including text and icon configurations.
Field | Description | Type |
---|---|---|
likeIconStyle | Defines the style of the "Like" icon. | LMFeedIconStyle |
likeTextStyle | Configures the text style for the "Like" option. | LMFeedTextStyle |
commentTextStyle | Configures the text style for the "Comments" option. | LMFeedTextStyle |
saveIconStyle | Defines the style of the "Save" icon. | LMFeedIconStyle |
shareIconStyle | Defines the style of the "Share" icon. | LMFeedIconStyle |
menuIconStyle | Defines the style of the "Menu" icon. | LMFeedIconStyle |
backgroundColor | Specifies the background color of the view. | Int |