title: Android:- How to add Hyphen "-" in word break android TextView below 6.0 OS
body: <p>I want to show text dynamically in a TextView. The text will come from the server dynamically. This may be a single word or a single line or a  paragraph. The text is displaying the view with size as 56sp based on customer requirement. </p>
  
  <p>My issue here is, the application displaying the text in a huge size. In the case of word break at the end of the line, OS is not showing a <strong>hyphen("-")</strong> automatically in below Marshmallow devices.</p>
  
  <p><strong>eg: Text:</strong>  "Carryover data now available"
  It's showing in the UI as </p>
  
  <p>Carryover</p>
  
  <p>data now ava</p>
  
  <p>ilable</p>
  
  <p><strong>I want to show this as</strong> </p>
  
  <p>Carryover</p>
  
  <p>data now ava-</p>
  
  <p>ilable. </p>
  
  <p>But this is properly working in Marshmallow or above devices.</p>
  
  <p><strong>TextView property is given below</strong></p>
  
  <pre><code>&lt;TextView
       android:id="@+id/tv_primary_headline"
       android:layout_width="match_parent"
       android:layout_height="wrap_content"
       android:layout_alignParentTop="true"
       android:fontFamily="sans-serif-black"
                    android:lineSpacingExtra="@dimen/promo_primarytext_line_spacing"
       android:textAppearance="?android:attr/textAppearanceLarge"
       android:textColor="@color/navigation_selection_color"
       android:textSize="@dimen/promo_primary_headline_size"
       android:textStyle="bold"
       android:visibility="visible" /&gt;
  
   TextView mTvPrimaryHeadline = (TextView) view.
                      findViewById(R.id.tv_primary_headline);
    this.mTvPrimaryHeadline.setText(Html.fromHtml(title));
  </code></pre>