A custom editText,which provides a clear button inside it while it is not empty.In addition, it can set shake animaton..
ClearEditText is hosted in the following web site
https://github.com/Lighted/ClearEditText
If you think the Android project ClearEditText listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of ClearEditText.
Item | Value |
---|---|
Java File Count | 2 |
Supported screen sizes | [hdpi] |
Target SDK Version | 18 |
Minimum SDK Version | 8 |
Activity Count | 1 |
jar files used | android-support-v4.jar |
There are 2 image files in ClearEditText. The names of the image files are listed as follows.
search_clear_normal.png search_clear_pressed.png
The following screenshort is generated from the image listed above.
ClearEditText has the following Java source files.
com.wl.android.activity.MainActivity.java com.wl.android.view.ClearEditText.java