Android Field Input
Library for android, field input with drawable and click listener for drawable.
Installation
Add it in your root build.gradle at the end of repositories:
Add the dependency:
Usage
Define a view in your layout file:
For drawable click listener.
For set error message.
For set text or get text input.
Preview
Documentation
Attribute for FieldInput
Attribute Name | Default Value | Description |
---|---|---|
hint | null | For set hint of field |
focusable | true | For activate focus |
passwordToggleEnabled | false | For activate password visibility |
style | null | For set text appearance of text field |
textAllCaps | false | For activate field text caps |
drawableEnd | null | For put drawable in the right side |
inputType | text | For input type field |
textColor | null | For set color text field |
textSize | 14sp | For set text size field |