# HintAnim-EditText
**Repository Path**: applibgroup/HintAnim-EditText
## Basic Information
- **Project Name**: HintAnim-EditText
- **Description**: An Edittext with hint anim for HMOS ,suit for scroll ad in EditText
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-12-16
- **Last Updated**: 2022-01-04
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://github.com/applibgroup/HintAnim-EditText/actions/workflows/main.yml)
[](https://sonarcloud.io/summary/new_code?id=applibgroup_HintAnim-EditText)
# HintAnim-EditText
A HMOS library which provies Edittext with hint animation
## Source
Inspired by [cctanfujun/HintAnim-EditText](https://github.com/cctanfujun/HintAnim-EditText/) - version 0.1
## Feature
This library provides an animation of hint for EditText.
## Dependency
1. For using hintanimedittext module in sample app, include the source code and add the below dependencies in entry/build.gradle to generate hap/support.har.
```groovy
dependencies {
implementation project(':hintanimedittext')
implementation fileTree(dir: 'libs', include: ['*.har'])
testImplementation 'junit:junit:4.13'
}
```
2. For using hintanimedittext in separate application using har file, add the har file in the entry/libs folder and add the dependencies in entry/build.gradle file.
```groovy
dependencies {
implementation fileTree(dir: 'libs', include: ['*.har'])
testImplementation 'junit:junit:4.13'
}
```
3. For using hintanimedittext from a remote repository in separate application, add the below dependencies in entry/build.gradle file.
```groovy
dependencies {
implementation 'dev.applibgroup:hintanimedittext:1.0.0'
testCompile 'junit:junit:4.13'
}
```
## How TO USE
#### Declare in your xml
```xml
```
change hint with anim like this:
```java
mEditText.changeHintWithAnim("XXX");
```
Note: you should use ``setHintString("xxx")`` change hint without anim or ``changeHintWithAnim("XXX")`` change hint with anim instead of EditText’s hint.
## License
```
Copyright 2015 cctanfujun
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.
```