awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
grantland avatar

grantland/android-autofittextview

0
View on GitHub↗
4,246 stars·687 forks·Java·Apache-2.0·9 views

Android Autofittextview

This is a custom Android UI component designed to automatically adjust font sizes so that text content fits within defined layout bounds. It functions as a text scaling tool that ensures strings remain visible and contained within specified width and height constraints.

The component implements adaptive layout design by dynamically modifying text size based on available screen real estate. It utilizes a measure-based fit calculation and iterative scaling to prevent text from being clipped or wrapping unexpectedly across different device resolutions.

Features

  • Text Fitting Logic - Provides logic to automatically shrink text to fit within specified width and height cell boundaries.
  • Text Dimension Measurement - Uses native layout measurements to calculate exact pixel width and height of text segments to determine overflow.
  • Android UI Components - Ships a reusable Android UI component designed for dynamic text layout and automatic scaling.
  • Auto-Sizing TextViews - Implements a custom Android view that automatically adjusts font size to fit text within defined layout bounds.
  • Width-Adaptive Font Scaling - Utilizes an iterative loop to scale fonts until the text fits the width of the containing element.
  • Dynamic Text Scaling - Ensures long strings of text remain fully visible within a view by automatically scaling the font size.
  • Adaptive UI Layouts - Implements adaptive UI layouts that adjust to varying content lengths across different Android screen sizes.
  • Sizing Constraints - Implements sizing constraints by comparing text dimensions against parent container bounds to prevent overflow.
  • Dynamic Text Resizing - Provides the ability to modify the text size property dynamically based on available screen real estate.
  • Layout Pass Interception - Intercepts the standard Android measurement process to inject custom sizing logic before final rendering.
  • Text Scaling Utilities - Provides a utility to resize text automatically to fit within specified dimensions.
  • Text and Labels - Text view that auto-resizes to fit content.
  • Text Components - Automatically resizes text to fit boundaries.

Star history

Star history chart for grantland/android-autofittextviewStar history chart for grantland/android-autofittextview

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does grantland/android-autofittextview do?

This is a custom Android UI component designed to automatically adjust font sizes so that text content fits within defined layout bounds. It functions as a text scaling tool that ensures strings remain visible and contained within specified width and height constraints.

What are the main features of grantland/android-autofittextview?

The main features of grantland/android-autofittextview are: Text Fitting Logic, Text Dimension Measurement, Android UI Components, Auto-Sizing TextViews, Width-Adaptive Font Scaling, Dynamic Text Scaling, Adaptive UI Layouts, Sizing Constraints.

What are some open-source alternatives to grantland/android-autofittextview?

Open-source alternatives to grantland/android-autofittextview include: manabu-gt/expandabletextview — ExpandableTextView is a reusable Android UI component and a custom extension of the standard Android TextView. It is… robinhood/ticker — Ticker is a custom Android UI component that implements rolling character animations to simulate mechanical odometer… nightonke/boommenu — BoomMenu is an Android radial menu library and UI animation framework designed to create expandable floating action… bluejamesbond/textjustify-android — :page_facing_up: Android Text Full Jusiftication / Wrapping / Justify / Hyphenate - V2.0. quiqueqs/babushkatext — A simpler way to style your TextViews. romainpiel/shimmer-android — (DEPRECATED) An Android TextView with a shimmering effect.

Open-source alternatives to Android Autofittextview

Similar open-source projects, ranked by how many features they share with Android Autofittextview.
  • manabu-gt/expandabletextviewManabu-GT avatar

    Manabu-GT/ExpandableTextView

    4,063View on GitHub↗

    ExpandableTextView is a reusable Android UI component and a custom extension of the standard Android TextView. It is designed to manage the display of long text blocks by toggling them between truncated and full-length states. The component implements a read-more interaction that triggers animated height transitions to expand or collapse content. It uses internal state management to switch between read-more and read-less labels based on the current visibility of the text. This view handles text truncation logic and dynamic line manipulation to ensure a compact layout while maintaining the ab

    Java
    View on GitHub↗4,063
  • robinhood/tickerrobinhood avatar

    robinhood/ticker

    4,381View on GitHub↗

    Ticker is a custom Android UI component that implements rolling character animations to simulate mechanical odometer displays. It provides a scrolling text view designed to animate transitions between different strings using vertical motion. The component utilizes a custom drawing loop and character-array sequence mapping to control the vertical scrolling path. It supports wrapped animation paths to create seamless loops and includes mechanisms to handle translation offsets when transitioning between strings of varying lengths.

    Javaandroidandroid-animationandroid-ui
    View on GitHub↗4,381
  • nightonke/boommenuNightonke avatar

    Nightonke/BoomMenu

    5,784View on GitHub↗

    BoomMenu is an Android radial menu library and UI animation framework designed to create expandable floating action buttons. It provides a set of programmable custom view components that reveal submenu items in radial, horizontal, or vertical patterns using 3D transformations. The library distinguishes itself through a 3D-transformation animation engine that utilizes non-linear easing, scaling, and rotation to create depth during menu expansion. It includes specialized layout patterns for share-style menus and a coordinate-based mapping system for precise item displacement. The framework cov

    Javaanimationboommenu
    View on GitHub↗5,784
  • bluejamesbond/textjustify-androidbluejamesbond avatar

    bluejamesbond/TextJustify-Android

    1,843View on GitHub↗

    :pagefacingup: Android Text Full Jusiftication / Wrapping / Justify / Hyphenate - V2.0

    Java
    View on GitHub↗1,843
  • See all 30 alternatives to Android Autofittextview→