Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
126 (https://github.com/DreaminginCodeZH/MaterialEditText/stargazers?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650) 7
(https://github.com/DreaminginCodeZH/MaterialEditText/watchers?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650) 20
(https://github.com/DreaminginCodeZH/MaterialEditText/network?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650) 0
(https://github.com/DreaminginCodeZH/MaterialEditText/issues?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650)
(https://facebook.com/sharer.php?
General u=https://android-
Category
arsenal.com/details/1/2650)
Free (/free)
Tag
(https://twitter.com/intent/twe
arsenal.com/details/1/2650&text=The%20An
Text Views (/tag/101)
License %2
%20MaterialEditText
Apache License, Version 2.0 (http://opensource.org/licenses/Apache-2.0?utm_source=android-arsenal.co
m&utm_medium=referral&utm_campaign=2650)
(http://news.ycombinator.com/submitlink
Min SDK
14 (Android 4.0–4.0.2 Ice Cream Sandwich) (/api?level=14)
arsenal.com/details/1/2650&t=The%20Andro
Registered
Oct 18, 2015 %20Text%20Views%20-%2
Favorites
10
Link
https://github.com/DreaminginCodeZH/MaterialEditText (https://github.com/DreaminginCodeZH/MaterialE
ditText?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=2650)
See also
TriangleRectangleLabelView (/details/1/2532)
Android-PTTextView (/details/1/3263)
BouncyEditText (/details/1/1895)
(https://plus.google.com/share?
ChipsLibrary (/details/1/1410)
ReadMoreOption (/details/1/7058)
url=https://android-
Additional arsenal.com/details/1/2650)
Language
Java
(https://reddit.com/subm
arsenal.com/details/1/2650&title=The%20An
Version
%20Text%20Views%20-
v1.0.5 (Oct 23, 2016) (https://github.com/DreaminginCodeZH/MaterialEditText/releases/tag/v1.0.5?utm_s
ource=android-arsenal.com&utm_medium=referral&utm_campaign=2650)
Created
Oct 13, 2015
Updated
Jun 20, 2017
Owner
Zhang Hai (DreaminginCodeZH) (/user/DreaminginCodeZH)
Contributor
1 (https://github.com/DreaminginCodeZH/MaterialEditText/graphs/contributors?utm_source=android-arse
nal.com&utm_medium=referral&utm_campaign=2650)
Activity
Badge
Generate
Download
Source code
APK file
Announcement
Si dispone de 350.000 € en
9 errores de activos, descargue esta guía
y actualizaciones
inversión periódicas.
MaterialEditText
Material Design EditText with a delightful linear ripple in background, compatible with Android
4.0+.
Preview
(https://github.com/DreaminginCodeZH/MaterialEditText/raw/master/screenshot/native-edittext.gif?
utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=2650)
MaterialEditText :
(https://github.com/DreaminginCodeZH/MaterialEditText/raw/master/screenshot/materialedittext.gif
?utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=2650)
Sample screenshot:
(https://github.com/DreaminginCodeZH/MaterialEditText/raw/master/screenshot/screenshot.png?
utm_source=android-arsenal.com&utm_medium=referral&utm_campaign=2650)
Sample APK
(https://github.com/DreaminginCodeZH/MaterialEditText/blob/master//github.com/DreaminginCode
ZH/MaterialEditText/releases/download/v1.0.5/sample-release.apk?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650)
Design
For simplicity of usage, a MaterialEditText is created to set the background automatically, and
set the hotspot of ripple on platforms prior to Lollipop.
The InputTextLayout from Design Support Library can automatically set the red tint on
background when an error is set. An MaterialInputTextLayout is introduced to make the
background drawable show a bold red line consistent with Material Design Guideline when an error
is set.
Integration
Gradle:
compile 'me.zhanghai.android.materialedittext:library:1.0.5'
Usage
For example:
<me.zhanghai.android.materialedittext.MaterialTextInputLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<me.zhanghai.android.materialedittext.MaterialEditText
android:layout_width="match_parent"
android:layout_height="wrap_content" />
</me.zhanghai.android.materialedittext.MaterialTextInputLayout>
ProGuard
The AAR of this library has already included a ProGuard configuration file to make ObjectAnimator
work properly.
Older versions
Neither Support v4 nor AppCompat v7 backported animation API to versions prior to ICS, and the
NineOldAndroids (https://github.com/JakeWharton/NineOldAndroids/?utm_source=android-
arsenal.com&utm_medium=referral&utm_campaign=2650) library has already been deprecated
since people should all be using minSdkVersion="14" now, so versions older than ICS are not
supported.
License
http://www.apache.org/licenses/LICENSE-2.0