Skip to content

Instantly share code, notes, and snippets.

@ShwetaChauhan18
Last active February 24, 2020 12:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShwetaChauhan18/f4ee2ce55d45fb6ac04c5f03c1b7e785 to your computer and use it in GitHub Desktop.
Save ShwetaChauhan18/f4ee2ce55d45fb6ac04c5f03c1b7e785 to your computer and use it in GitHub Desktop.
+-----------------------------------------+--------------------------------------------+---------------------------------------+
| Attribute | Description | Default |
+-----------------------------------------+--------------------------------------------+---------------------------------------+
| app:isErrorEnable | Whether the EditText error is enabled | false |
| app:custom_component_title | Set Outlined border title text | R.string.app_name |
| app:custom_component_editText_hint | Set EditText hint | R.string.app_name |
| app:custom_component_maxline | Set maximum height of the EditText | 1 |
| app:custom_component_minline | Set minimum height of the EditText | 1 |
| app:custom_component_title_color | Set Outlined border color | #666666 |
| app:custom_component_title_error_color | Set Outlined border color | #f15454 |
| app:custom_component_border_color | Set Outlined border color | #979797 |
| app:custom_component_border_error_color | Set Outlined border color | #f15454 |
| app:custom_component_title_bg_color | Set Outlined border title background color | R.color.colorPrimary |
| app:custom_component_editText_bg_color | Set EditText background color | R.color.colorPrimary |
| app:custom_component_maxLength | Set EditText maxLength | 99 |
| android:inputType | Set EditText inputType | EditorInfo.TYPE_TEXT_VARIATION_NORMAL |
+-----------------------------------------+--------------------------------------------+---------------------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment