{"id":3525,"url":"https://github.com/rengwuxian/MaterialEditText","last_synced_at":"2025-08-12T01:31:00.553Z","repository":{"id":22622554,"uuid":"25965034","full_name":"rengwuxian/MaterialEditText","owner":"rengwuxian","description":"EditText in Material Design","archived":false,"fork":false,"pushed_at":"2019-08-27T08:05:32.000Z","size":1260,"stargazers_count":6111,"open_issues_count":195,"forks_count":1040,"subscribers_count":187,"default_branch":"master","last_synced_at":"2024-12-11T18:05:27.061Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rengwuxian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-30T10:07:23.000Z","updated_at":"2024-12-02T23:33:31.000Z","dependencies_parsed_at":"2022-07-12T16:07:28.993Z","dependency_job_id":null,"html_url":"https://github.com/rengwuxian/MaterialEditText","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rengwuxian%2FMaterialEditText","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rengwuxian%2FMaterialEditText/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rengwuxian%2FMaterialEditText/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rengwuxian%2FMaterialEditText/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rengwuxian","download_url":"https://codeload.github.com/rengwuxian/MaterialEditText/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229624724,"owners_count":18100638,"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":[],"created_at":"2024-01-05T20:16:43.981Z","updated_at":"2024-12-13T22:30:38.870Z","avatar_url":"https://github.com/rengwuxian.png","language":"Java","readme":"MaterialEditText\n================\n[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaterialEditText-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1085)\n\n\u003e ## NOTE: 2.0 is NOT BACKWARDS COMPATIBLE! See more on [wiki](https://github.com/rengwuxian/MaterialEditText/wiki) or [中文看这里](http://www.rengwuxian.com/post/materialedittext)\n\n\n![MaterialEditText](./images/material_edittext.png)\n\nAppCompat v21 makes it easy to use Material Design EditText in our apps, but it's so limited. If you've tried that, you know what I mean. So I wrote MaterialEditText, the EditText in Material Design, with more features that [Google Material Design Spec](http://www.google.com/design/spec/components/text-fields.html) has introduced.\n\n## Features\n1. **Basic**\n\n  ![Basic](./images/basic.png)\n  \n2. **Floating Label**\n  \n  normal:\n  \n  ![FloatingLabel](./images/floating_label.png)\n  \n  highlight:\n  \n  ![HighlightFloatingLabel](./images/highlight.png)\n\n  custom floating label text:\n\n  ![CustomFloatingLabelText](./images/custom_floating_label_text.png)\n  \n3. **Single Line Ellipsis**\n  \n  ![SingLineEllipsis](./images/ellipsis.png)\n  \n4. **Max/Min Characters**\n  \n  ![MaxCharacters](./images/max_characters.png)\n\n  ![MinCharacters](./images/min_characters.png)\n\n  ![MinAndMaxCharacters](./images/min_and_max.png)\n  \n5. **Helper Text and Error Text**\n\n  ![HelperTextAndErrorText](./images/helper_error_text.png)\n\n6. **Custom Base/Primary/Error/HelperText Colors**\n\n  ![CustomColors](./images/custom_colors.png)\n\n7. **Custom accent typeface**\n\n  floating label, error/helper text, character counter, etc.\n\n  ![CustomAccentTypeface](./images/custom_accent_typeface.png)\n\n8. **Hide Underline**\n\n  ![HideUnderLine](./images/hide_underline.png)\n\n8. **Material Design Icon**\n\n  ![MaterialDesignIcon](./images/material_design_icon.png)\n\n## Sample\n\n[MaterialEditText-2.1.4-sample.apk](https://github.com/rengwuxian/MaterialEditText/releases/download/2.1.4/MaterialEditText-2.1.4-sample.apk)\n  \n## Download\n\nEclipse:\n[MaterialEditText-2.1.4.aar](https://github.com/rengwuxian/MaterialEditText/releases/download/2.1.4/MaterialEditText-2.1.4.aar)\n\ngradle:\n\n```groovy\ncompile 'com.rengwuxian.materialedittext:library:2.1.4'\n```\n\nMaven:\n```xml\n\u003cdependency\u003e\n  \u003cgroupId\u003ecom.rengwuxian.materialedittext\u003c/groupId\u003e\n  \u003cartifactId\u003elibrary\u003c/artifactId\u003e\n  \u003cversion\u003e2.1.4\u003c/version\u003e\n  \u003ctype\u003eaar\u003c/type\u003e\n\u003c/dependency\u003e\n```\n\n## Usage\n\nSee on [Wiki Page](https://github.com/rengwuxian/MaterialEditText/wiki) or [中文看这里](http://www.rengwuxian.com/post/materialedittext)\n\n## Thanks to\n\n[NineOldAndroids](https://github.com/JakeWharton/NineOldAndroids/)\n\n## License\n\n    Copyright 2014 rengwuxian\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":["\u003ca name=\"EditText\"\u003eEditText\u003c/a\u003e","Index","Libraries","Index `(light-weight pages)`","Java","Android","EditText","Libs","库"],"sub_categories":["Personal Blog","GUI","Components","\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget","[](https://github.com/JStumpp/awesome-android/blob/master/readme.md#inputs)输入"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frengwuxian%2FMaterialEditText","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frengwuxian%2FMaterialEditText","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frengwuxian%2FMaterialEditText/lists"}