Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# android.support.v4.text\n\nadded in [version 22.1.0](/topic/libraries/support-library/revisions) \n\nandroid.support.v4.text\n=======================\n\n| This package is part of the Android [support library](/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](/jetpack/androidx) which is part of [Jetpack](/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class\n| mappings](/jetpack/androidx/migrate/class-mappings).\n\nInterfaces\n----------\n\n|-------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|\n| [TextDirectionHeuristicCompat](/reference/android/support/v4/text/TextDirectionHeuristicCompat) | Interface for objects that use a heuristic for guessing at the paragraph direction by examining text. |\n\nClasses\n-------\n\n|---------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|\n| [BidiFormatter](/reference/android/support/v4/text/BidiFormatter) | Utility class for formatting text for display in a potentially opposite-directionality context without garbling. |\n| [BidiFormatter.Builder](/reference/android/support/v4/text/BidiFormatter.Builder) | A class for building a BidiFormatter with non-default options. |\n| [ICUCompat](/reference/android/support/v4/text/ICUCompat) | |\n| [TextDirectionHeuristicsCompat](/reference/android/support/v4/text/TextDirectionHeuristicsCompat) | Some objects that implement TextDirectionHeuristic. |\n| [TextUtilsCompat](/reference/android/support/v4/text/TextUtilsCompat) | Backwards compatible version of [TextUtils](https://developer.android.com/reference/android/text/TextUtils.html). |\n\n-\n\n Interfaces\n ----------\n\n - [TextDirectionHeuristicCompat](/reference/android/support/v4/text/TextDirectionHeuristicCompat)\n-\n\n Classes\n -------\n\n - [BidiFormatter](/reference/android/support/v4/text/BidiFormatter)\n - [BidiFormatter.Builder](/reference/android/support/v4/text/BidiFormatter.Builder)\n - [ICUCompat](/reference/android/support/v4/text/ICUCompat)\n - [TextDirectionHeuristicsCompat](/reference/android/support/v4/text/TextDirectionHeuristicsCompat)\n - [TextUtilsCompat](/reference/android/support/v4/text/TextUtilsCompat)"]]