<NME> README.md
<BEF> [![Release](https://img.shields.io/github/release/AndroidDeveloperLB/AutoFitTextView.svg?style=flat)](https://jitpack.io/#AndroidDeveloperLB/AutoFitTextView)

AutoFitTextView
===============

A TextView that automatically fit its font and line count based on its available size and content

This code is heavily based on [**this StackOverflow thread**][1].

Note that even though the sample is of API 16, it should work fine on most cases for much older versions.

A nice example of how to use an EditText that has this functionality can be found ![here][4] (didn't test it, but it looks promising).

Preview
--
Preview
--
![preview animation][2]

Import using Gradle
--

	allprojects {
		repositories {
			...
			maven { url "https://jitpack.io" }
		}
	}
	
		dependencies {
	        implementation 'com.github.AndroidDeveloperLB:AutoFitTextView:XXX'
	}

You can find recent version here (replace XXX):

https://jitpack.io/#AndroidDeveloperLB/AutoFitTextView


  [1]: http://stackoverflow.com/questions/16017165/auto-fit-textview-for-android/21851239
  [2]: https://raw.githubusercontent.com/AndroidDeveloperLB/AutoFitTextView/master/animationPreview.gif
  [4]: https://viksaaskool.wordpress.com/2014/11/16/using-auto-resize-to-fit-edittext-in-android/

<MSG> Update README.md
<DFF> @@ -9,7 +9,7 @@ The sample shows how the library can handle various parameters being changed on
 
 Note that even though the sample is of API 16, it should work fine on most cases for much older versions.
 
-A nice example of how to use an EditText that has this functionality can be found ![here][4] (didn't test it, but it looks promising).
+A nice example of how to use an EditText that has this functionality can be found [here][4] (didn't test it, but it looks promising).
 
 Preview
 --

Update README.md