Start a Project

Align Justify Paragraph with WebView

How to align-justify  a Paragraph if TextView is not align-justify the Text?

By using the WebView we can align a text to justifying text for both RTL and LTR supported Languages.

Just follow the following easy  steps.

  1. Add WebView in your layout abc.xml file

     
  2. Create an HTML tag String
    for RTL supported languages.

    for LTR supported Languages.

     
  3. Put String to your WebView
    for RTL supported Languages.

    for LTR supported Languages.

     
Exit mobile version