Widget Documentation: LMFeedButton
Widget: LMFeedButton
LMFeedButton is a customizable button widget designed for use in Android applications. It allows developers to implement buttons with a wide range of styling options, including text styles, icons, and background properties.
View the source code on GitHub.
View Style: LMFeedButtonStyle
LMFeedButtonStyle provides flexible customization options for styling the LMFeedButton. It allows developers to define properties such as text appearance, background color, and icon configurations.
| Field | Description | Type |
|---|---|---|
| textStyle | Defines the text style for the button. | LMFeedTextStyle |
| backgroundColor | Sets the background color of the button. | Int |
| strokeColor | Sets the color of the button's stroke. | Int |
| strokeWidth | Defines the width of the button's stroke. | Int |
| elevation | Defines the elevation of the button. | Int |
| icon | Specifies the resource ID for the button's icon. | Int |
| iconTint | Defines the tint color for the icon. | Int |
| iconSize | Sets the size of the icon. | Int |
| iconGravity | Defines the icon's gravity within the button. | Int |
| iconPadding | Sets the padding around the icon. | Int |
| cornerRadius | Defines the corner radius of the button. | Int |
| disabledButtonColor | Sets the color of the button when disabled. | Int |
View the source code on GitHub.