Skip to main content

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.

FieldDescriptionType
likeIconStyleDefines the style of the "Like" icon.LMFeedIconStyle
likeTextStyleConfigures the text style for the "Like" option.LMFeedTextStyle
commentTextStyleConfigures the text style for the "Comments" option.LMFeedTextStyle
saveIconStyleDefines the style of the "Save" icon.LMFeedIconStyle
shareIconStyleDefines the style of the "Share" icon.LMFeedIconStyle
menuIconStyleDefines the style of the "Menu" icon.LMFeedIconStyle
backgroundColorSpecifies the background color of the view.Int

View the code on GitHub