# android-autofittextview
**Repository Path**: xtim/android-autofittextview
## Basic Information
- **Project Name**: android-autofittextview
- **Description**: A TextView that automatically resizes text to fit perfectly within its bounds.
- **Primary Language**: Java
- **License**: Apache-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-11-21
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# AutoFitTextView
[](https://maven-badges.herokuapp.com/maven-central/me.grantland/autofittextview)
A TextView that automatically resizes text to fit perfectly within its bounds.

## Usage
```cson
dependencies {
compile 'me.grantland:autofittextview:0.2.+'
}
```
Enable any View extending TextView in code:
```java
AutofitHelper.create(textView);
```
Enable any View extending TextView in XML:
```xml
```
Use the built in Widget in code or XML:
```xml
```
## License
Copyright 2014 Grantland Chew
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.