Widget Documentation: LMFeedEditText
Widget: LMFeedEditText
The LMFeedEditText is a custom EditText widget providing advanced capabilities such as handling focus changes and dynamic keyboard interactions.
| Method | Description |
|---|---|
| onWindowFocusChanged(hasWindowFocus: Boolean) | Handles changes in window focus. |
| focusAndShowKeyboard() | Focuses the EditText and displays the keyboard. |
| maybeShowKeyboard() | Conditionally shows the keyboard based on the current state. |
View Style: LMFeedEditTextStyle
The LMFeedEditTextStyle defines the appearance and layout properties for the LMFeedEditText, enabling customization of its text, colors, and elevation.
| Field | Description | Type |
|---|---|---|
| inputTextStyle | Specifies the style of the input text. | LMFeedTextStyle |
| hintTextColor | Defines the color of the hint text. | Int |
| elevation | Sets the elevation of the EditText. | Int |
| backgroundColor | Specifies the background color. | Int |