{"id":13607038,"url":"https://github.com/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder","last_synced_at":"2025-04-12T11:31:22.107Z","repository":{"id":36962951,"uuid":"238198856","full_name":"SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder","owner":"SimformSolutionsPvtLtd","description":"Same as the Outlined text fields presented on the Material Design page but with some dynamic changes. 📝 🎉","archived":false,"fork":false,"pushed_at":"2022-08-09T13:33:32.000Z","size":6026,"stargazers_count":207,"open_issues_count":1,"forks_count":22,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-11-07T12:42:34.744Z","etag":null,"topics":["android","custom","custom-edittext","edittext","errorcolor","kotlin","kotlin-android","kotlin-library","material-design","outline-color","outline-stroke","validation-error-message"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimformSolutionsPvtLtd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-04T12:18:53.000Z","updated_at":"2024-11-01T04:14:08.000Z","dependencies_parsed_at":"2022-08-02T20:45:13.911Z","dependency_job_id":null,"html_url":"https://github.com/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimformSolutionsPvtLtd","download_url":"https://codeload.github.com/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248560095,"owners_count":21124593,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","custom","custom-edittext","edittext","errorcolor","kotlin","kotlin-android","kotlin-library","material-design","outline-color","outline-stroke","validation-error-message"],"created_at":"2024-08-01T19:01:14.995Z","updated_at":"2025-04-12T11:31:17.097Z","avatar_url":"https://github.com/SimformSolutionsPvtLtd.png","language":"Kotlin","readme":"# README #\n\n# SSCustomEditTextOutlineBorder\n\n[![](https://jitpack.io/v/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder.svg)](https://jitpack.io/#SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder)\n[![Kotlin Version](https://img.shields.io/badge/Kotlin-v1.7.0-blue.svg)](https://kotlinlang.org)\n[![Platform](https://img.shields.io/badge/Platform-Android-green.svg?style=flat)](https://www.android.com/)\n[![API](https://img.shields.io/badge/API-21%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=21)\n[![Android Weekly](https://img.shields.io/badge/Android%20Weekly-%23402-orange)](https://androidweekly.net/issues/issue-402)\n[![Android Arsenal]( https://img.shields.io/badge/Android%20Arsenal-SSCustomEditTextOutLineBorder-green.svg?style=flat )]( https://android-arsenal.com/details/1/8072)\n\nGetting Started\n------------------------\n`SSCustomEditTextOutLineBorder` is a small kotlin library for android to support outlined (stroked) text in EditText widgets same as [Material Design Outlined Box](https://material.io/develop/android/components/text-input-layout/) but without Floating Label. \n\nThe actual features are:\n\n * Outlined text fields with a label which have custom-built text, color, errorColor and backgroundColor.\n * Outlined box border has customizable color and errorColor.\n * EditText with custom-made backgroundColor, hint text, max-min line, max length.\n * Error color customized with error enabled or not.\n \n### Demo\n------------------------\n \n![demo_data](https://github.com/simformsolutions/CustomEditTextOutLineBorder/blob/master/images/demo_new.gif)\n\n### Gradle Dependency\n* Add the JitPack repository to your project's build.gradle file\n\n    - For Gradle version 5.x.x or less\n    ```\n    allprojects {\n        repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n        }\n    }\n    ```\n    - For Gradle version 6.x.x and above, in settings.gradle file inside `pluginManagement` block\n    ```\n      pluginManagement {\n        repositories {\n        ...\n        maven { url 'https://jitpack.io' }\n        }\n    }\n    ```\n\n* Add the dependency in your app's build.gradle file\n\n```\ndependencies {\n\timplementation 'com.github.simformsolutions:SSCustomEditTextOutLineBorder:1.0.15'\n}\n```\n\n### All Attributes\n------------------------\n\n| Attribute | Description | Default |\n| --- | --- | --- |\n| `app:isErrorEnable` | Whether the EditText error is enabled | `false` |\n| `app:custom_component_title` | Set Outlined border title text | `R.string.app_name` |\n| `app:custom_component_editText_hint` | Set EditText hint | `R.string.app_name` |\n| `app:custom_component_maxline` | Set maximum height of the EditText | `1` |\n| `app:custom_component_minline` | Set minimum height of the EditText | `1` |\n| `app:custom_component_title_color` | Set Outlined title color | `#666666` |\n| `app:custom_component_title_error_color` | Set Outlined title error color | `#f15454` |\n| `app:custom_component_border_color` | Set Outlined border color | `#979797` |\n| `app:custom_component_border_error_color` | Set Outlined border error color | `#f15454` |\n| `app:custom_component_title_bg_color` | Set Outlined border title background color | `R.color.colorPrimary` |\n| `app:custom_component_editText_bg_color` | Set EditText background color | `R.color.colorPrimary` |\n| `app:custom_component_maxLength` | Set EditText maxLength | `99` |\n| `android:inputType` | Set EditText inputType | `EditorInfo.TYPE_TEXT_VARIATION_NORMAL` |\n| `app:custom_component_border_width` | Set Outlined border width | `1` |\n| `app:isToggleEnable` | Whether Password Toggle is enabled | `false` |\n\n### Usage\n------------------------\n\n```\n\u003ccom.simform.customcomponent.SSCustomEdittextOutlinedBorder\n            android:id=\"@+id/edtAbout\"\n            android:layout_width=\"0dp\"\n            android:layout_height=\"wrap_content\"\n            android:layout_marginTop=\"@dimen/_10sdp\"\n            android:inputType=\"textMultiLine|textCapSentences\"\n            app:custom_component_editText_hint=\"@string/edt_hint_about\"\n            app:custom_component_maxline=\"3\"\n            app:custom_component_minline=\"3\"\n            app:custom_component_maxLength=\"25\"\n            app:errorTextValue=\"errorText\"\n            app:isErrorEnable=\"false\"\n            app:isToggleEnable = \"true\"\n            app:custom_component_title_color=\"@color/color_brownish_grey_two\"\n            app:custom_component_title_error_color=\"@color/color_error\"\n            app:custom_component_border_color=\"@color/color_warm_grey\"\n            app:custom_component_border_error_color=\"@color/color_error\"\n            app:custom_component_title=\"@string/edt_title_about\"\n            app:layout_constraintEnd_toEndOf=\"@+id/edtPassword\"\n            app:layout_constraintStart_toStartOf=\"@+id/edtPassword\"\n            app:layout_constraintTop_toBottomOf=\"@+id/edtPassword\"\n            app:textValue=\"aboutText\"/\u003e\n```\n\n## Find this library useful? :heart:\nSupport it by joining __[stargazers](https://github.com/simformsolutions/SSCustomEditTextOutLineBorder/stargazers)__ for this repository. :star:\n\n## 🤝 How to Contribute\n\nWhether you're helping us fix bugs, improve the docs, or a feature request, we'd love to have you! :muscle:\n\nCheck out our [**Contributing Guide**](https://github.com/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder/blob/master/CONTRIBUTING.md) for ideas on contributing.\n\n## Bugs and Feedback\n\nFor bugs, feature requests, and discussion please use [GitHub Issues](https://github.com/SimformSolutionsPvtLtd/SSCustomEditTextOutLineBorder/issues).\n\n## Awesome Mobile Libraries\n- Check out our other available [awesome mobile libraries](https://github.com/SimformSolutionsPvtLtd/Awesome-Mobile-Libraries)\n\n## License\n\n```\nCopyright 2020 Simform Solutions\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n```\n","funding_links":[],"categories":["Library","Kotlin","Android"],"sub_categories":["Kotlin"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSimformSolutionsPvtLtd%2FSSCustomEditTextOutLineBorder/lists"}