libandroid-navigation-ui/src/main/java/com/mapbox/services/android/navigation/ui/v5/summary/list/InstructionViewHolder.java
private void initInstructionAutoSize() {
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepPrimaryText,
      26, 28, 1, TypedValue.COMPLEX_UNIT_SP);
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepSecondaryText,
      20, 26, 1, TypedValue.COMPLEX_UNIT_SP);
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepDistanceText,
      16, 20, 1, TypedValue.COMPLEX_UNIT_SP);
  }
/**
   * Called after we bind the views, this will allow the step instruction {@link TextView}
   * to automatically re-size based on the length of the text.
   */
Called after we bind the views, this will allow the step instruction  TextView
to automatically re-size based on the length of the text.
Called after we bind the views this will allow the step instruction TextView to automatically re - size based on the length of the text .
private void initInstructionAutoSize() {
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepPrimaryText,
      26, 28, 1, TypedValue.COMPLEX_UNIT_SP);
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepSecondaryText,
      20, 26, 1, TypedValue.COMPLEX_UNIT_SP);
    TextViewCompat.setAutoSizeTextTypeUniformWithConfiguration(stepDistanceText,
      16, 20, 1, TypedValue.COMPLEX_UNIT_SP);
  }
private void initInstructionAutoSize ( ) { TextViewCompat . setAutoSizeTextTypeUniformWithConfiguration ( stepPrimaryText , 26 , 28 , 1 , TypedValue . COMPLEX_UNIT_SP ) ; TextViewCompat . setAutoSizeTextTypeUniformWithConfiguration ( stepSecondaryText , 20 , 26 , 1 , TypedValue . COMPLEX_UNIT_SP ) ; TextViewCompat . setAutoSizeTextTypeUniformWithConfiguration ( stepDistanceText , 16 , 20 , 1 , TypedValue . COMPLEX_UNIT_SP ) ; }
Called after we bind the views, this will allow the step instruction {@link TextView}
 to automatically re-size based on the length of the text.
Called after we bind the views this will allow the step instruction { @link TextView } to automatically re - size based on the length of the text .