AutoResizeTextView Library

Text view that auto adjusts text size to fit within the view

License

License

Categories

Categories

Auto Application Layer Libs Code Generators
GroupId

GroupId

com.github.jivimberg
ArtifactId

ArtifactId

autoresizetextview
Last Version

Last Version

0.0.2
Release Date

Release Date

Type

Type

aar
Description

Description

AutoResizeTextView Library
Text view that auto adjusts text size to fit within the view
Project URL

Project URL

https://github.com/jivimberg/AutoResizeTextView
Source Code Management

Source Code Management

https://github.com/jivimberg/AutoResizeTextView

Download autoresizetextview

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.jivimberg/autoresizetextview/ -->
<dependency>
    <groupId>com.github.jivimberg</groupId>
    <artifactId>autoresizetextview</artifactId>
    <version>0.0.2</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.github.jivimberg/autoresizetextview/
implementation 'com.github.jivimberg:autoresizetextview:0.0.2'
// https://jarcasting.com/artifacts/com.github.jivimberg/autoresizetextview/
implementation ("com.github.jivimberg:autoresizetextview:0.0.2")
'com.github.jivimberg:autoresizetextview:aar:0.0.2'
<dependency org="com.github.jivimberg" name="autoresizetextview" rev="0.0.2">
  <artifact name="autoresizetextview" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.github.jivimberg', module='autoresizetextview', version='0.0.2')
)
libraryDependencies += "com.github.jivimberg" % "autoresizetextview" % "0.0.2"
[com.github.jivimberg/autoresizetextview "0.0.2"]

Dependencies

compile (1)

Group / Artifact Type Version
com.android.support » appcompat-v7 jar 21.0.3

Project Modules

There are no modules declared in this project.

AutoResizeTextView

Maven Central

Text view that auto adjusts text size to fit within the view. This library is heavily based on Chase's answer to this Stack Overflow question. It works with custom fonts.

##Usage

dependencies {
    compile 'com.github.jivimberg:autoresizetextview:0.0.2'
}

Use the AutoResizeTextView in your XML:

<com.github.jivimberg.library.AutoResizeTextView
        android:text="@string/super_long_text"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:textSize="86sp"/>

##License DO WHAT YOU WANT TO PUBLIC LICENSE Version 2, December 2004

 Copyright (C) 2004 Sam Hocevar <[email protected]> 

 Everyone is permitted to copy and distribute verbatim or modified 
 copies of this license document, and changing it is allowed as long 
 as the name is changed. 

          DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 
 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 

0. You just DO WHAT THE FUCK YOU WANT TO.

Versions

Version
0.0.2