Skip to content
This repository has been archived by the owner on Jan 4, 2018. It is now read-only.
/ fill-textview Public archive

Custom Android TextView implementation that sets the font size property so that the content fills the available space.

Notifications You must be signed in to change notification settings

rzsombor/fill-textview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fill-textview

Android Filling TextView

This is an implementation of an Android TextView component that automatically sets the font size of its content so that the content fills the available space. The implementation was inspired / based on the contents if this thread: http://stackoverflow.com/questions/2617266/how-to-adjust-text-font-size-to-fit-textview . Currently FillTextView will consider both the X and Y axis to determine the font size. The project contains a demo Activity.

Screenshots from the demo app:

Screenshot1

Screenshot1

Screenshot1

About

Custom Android TextView implementation that sets the font size property so that the content fills the available space.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages