Skip to content

MrFuFuFu/ClearEditText

Repository files navigation

ClearEditText

该博文地址:让你的 EditText 全部清除

描述

  • 清除你的 EditText 的内容,它只在你需要的时候才显示清除的图片,使用体验棒棒哒
  • 不对你当前的监听产生干扰,对 OnFocusChangeListener 和 OnTouchListener 直接使用 ClearEditText的即可

使用方式:

<mrfu.clearedittext.view.ClearEditText
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:hint="Email"/>

Preview

clear_edittext

More about me

License

Copyright 2015 MrFu

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 at

 http://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.

About

Giving your Edit Texts the All Clear

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages