Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rengwuxian/MaterialEditText
EditText in Material Design
https://github.com/rengwuxian/MaterialEditText
Last synced: 2 months ago
JSON representation
EditText in Material Design
- Host: GitHub
- URL: https://github.com/rengwuxian/MaterialEditText
- Owner: rengwuxian
- Created: 2014-10-30T10:07:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-08-27T08:05:32.000Z (about 5 years ago)
- Last Synced: 2024-04-29T21:06:12.671Z (6 months ago)
- Language: Java
- Size: 1.2 MB
- Stars: 6,109
- Watchers: 187
- Forks: 1,047
- Open Issues: 195
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-android - MaterialEditText - Supporting Floating Labels, Single Line Ellipsis, Max/Min Characters, Helper Text and Error Text with Custom Colors. (Libraries / GUI)
- awesome-android-ui - MaterialEditText - 2.0) | ![](/art/MaterialEditText.png) (Index)
- Awesome-MaterialDesign - MaterialEditText - a.png" width="250" height="170" alt="Screenshot"/> (<a name="EditText">EditText</a> / Personal Blog)
- beautiful-android-ui - MaterialEditText - a.png" width="250" height="170" alt="Screenshot"/> (<a name="EditText">EditText</a> / Personal Blog)
- awesome-material-design - MaterialEditText - Text input for Android (Android / Components)
- awesome-android - MaterialEditText - Supporting Floating Labels, Single Line Ellipsis, Max/Min Characters, Helper Text and Error Text with Custom Colors. (Libraries / GUI)
- awesome-github-android-ui - MaterialEditText - MD风格的EditText (EditText)
- -awesome-android-ui - MaterialEditText - 2.0) | ![](/art/MaterialEditText.png) (Index `(light-weight pages)`)
- awesome-android-ui - MaterialEditText - 2.0) | ![](/art/MaterialEditText.png) (Index `(light-weight pages)`)
- awesome-android-cn - 官网
README
MaterialEditText
================
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-MaterialEditText-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/1085)> ## NOTE: 2.0 is NOT BACKWARDS COMPATIBLE! See more on [wiki](https://github.com/rengwuxian/MaterialEditText/wiki) or [中文看这里](http://www.rengwuxian.com/post/materialedittext)
![MaterialEditText](./images/material_edittext.png)
AppCompat 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.
## Features
1. **Basic**![Basic](./images/basic.png)
2. **Floating Label**
normal:
![FloatingLabel](./images/floating_label.png)
highlight:
![HighlightFloatingLabel](./images/highlight.png)custom floating label text:
![CustomFloatingLabelText](./images/custom_floating_label_text.png)
3. **Single Line Ellipsis**
![SingLineEllipsis](./images/ellipsis.png)
4. **Max/Min Characters**
![MaxCharacters](./images/max_characters.png)![MinCharacters](./images/min_characters.png)
![MinAndMaxCharacters](./images/min_and_max.png)
5. **Helper Text and Error Text**![HelperTextAndErrorText](./images/helper_error_text.png)
6. **Custom Base/Primary/Error/HelperText Colors**
![CustomColors](./images/custom_colors.png)
7. **Custom accent typeface**
floating label, error/helper text, character counter, etc.
![CustomAccentTypeface](./images/custom_accent_typeface.png)
8. **Hide Underline**
![HideUnderLine](./images/hide_underline.png)
8. **Material Design Icon**
![MaterialDesignIcon](./images/material_design_icon.png)
## Sample
[MaterialEditText-2.1.4-sample.apk](https://github.com/rengwuxian/MaterialEditText/releases/download/2.1.4/MaterialEditText-2.1.4-sample.apk)
## DownloadEclipse:
[MaterialEditText-2.1.4.aar](https://github.com/rengwuxian/MaterialEditText/releases/download/2.1.4/MaterialEditText-2.1.4.aar)gradle:
```groovy
compile 'com.rengwuxian.materialedittext:library:2.1.4'
```Maven:
```xmlcom.rengwuxian.materialedittext
library
2.1.4
aar```
## Usage
See on [Wiki Page](https://github.com/rengwuxian/MaterialEditText/wiki) or [中文看这里](http://www.rengwuxian.com/post/materialedittext)
## Thanks to
[NineOldAndroids](https://github.com/JakeWharton/NineOldAndroids/)
## License
Copyright 2014 rengwuxian
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.