# android.support.v4.text

added in [version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

# android.support.v4.text

| This package is part of the Android [support library](https://developer.android.com/topic/libraries/support-library) which is no longer maintained. The support library has been superseded by [AndroidX](https://developer.android.com/jetpack/androidx) which is part of [Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider [migrating](https://developer.android.com/jetpack/androidx/migrate) existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library [class
| mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

## Interfaces

|------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------|
| [TextDirectionHeuristicCompat](https://developer.android.com/reference/android/support/v4/text/TextDirectionHeuristicCompat) | Interface for objects that use a heuristic for guessing at the paragraph direction by examining text. |

## Classes

|--------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------|
| [BidiFormatter](https://developer.android.com/reference/android/support/v4/text/BidiFormatter)                                 | Utility class for formatting text for display in a potentially opposite-directionality context without garbling.  |
| [BidiFormatter.Builder](https://developer.android.com/reference/android/support/v4/text/BidiFormatter.Builder)                 | A class for building a BidiFormatter with non-default options.                                                    |
| [ICUCompat](https://developer.android.com/reference/android/support/v4/text/ICUCompat)                                         |                                                                                                                   |
| [TextDirectionHeuristicsCompat](https://developer.android.com/reference/android/support/v4/text/TextDirectionHeuristicsCompat) | Some objects that implement TextDirectionHeuristic.                                                               |
| [TextUtilsCompat](https://developer.android.com/reference/android/support/v4/text/TextUtilsCompat)                             | Backwards compatible version of [TextUtils](https://developer.android.com/reference/android/text/TextUtils.html). |

-

  ## Interfaces

  - [TextDirectionHeuristicCompat](https://developer.android.com/reference/android/support/v4/text/TextDirectionHeuristicCompat)
-

  ## Classes

  - [BidiFormatter](https://developer.android.com/reference/android/support/v4/text/BidiFormatter)
  - [BidiFormatter.Builder](https://developer.android.com/reference/android/support/v4/text/BidiFormatter.Builder)
  - [ICUCompat](https://developer.android.com/reference/android/support/v4/text/ICUCompat)
  - [TextDirectionHeuristicsCompat](https://developer.android.com/reference/android/support/v4/text/TextDirectionHeuristicsCompat)
  - [TextUtilsCompat](https://developer.android.com/reference/android/support/v4/text/TextUtilsCompat)