title: The Text touches the start of Parent when there is more than one line of output in TextView
body: <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_width=&quot;match_parent&quot;
      android:layout_height=&quot;match_parent&quot;
      android:rotationX=&quot;0&quot;
      tools:context=&quot;.MainActivity&quot;&gt;
  
  &lt;EditText
      android:id=&quot;@+id/editText&quot;
      android:layout_width=&quot;291dp&quot;
      android:layout_height=&quot;67dp&quot;
      android:layout_marginTop=&quot;32dp&quot;
      android:ems=&quot;10&quot;
      android:inputType=&quot;numberDecimal&quot;
      app:layout_constraintBottom_toTopOf=&quot;@+id/button&quot;
      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
      app:layout_constraintStart_toStartOf=&quot;parent&quot;
      app:layout_constraintTop_toBottomOf=&quot;@+id/textView&quot;
      app:layout_constraintVertical_bias=&quot;0.012&quot; /&gt;
  
  
  &lt;Button
      android:id=&quot;@+id/button&quot;
      android:layout_width=&quot;wrap_content&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:layout_marginBottom=&quot;396dp&quot;
      android:text=&quot;@string/submit&quot;
      app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
      app:layout_constraintStart_toStartOf=&quot;parent&quot;
      android:onClick=&quot;claculate&quot;/&gt;
  
  &lt;TextView
      android:id=&quot;@+id/textView2&quot;
      android:layout_width=&quot;wrap_content&quot;
      android:layout_height=&quot;wrap_content&quot;
      android:textColor=&quot;#00FA9A&quot;
      android:textSize=&quot;18sp&quot;
      app:layout_constraintBottom_toTopOf=&quot;@+id/button&quot;
      app:layout_constraintEnd_toEndOf=&quot;parent&quot;
      app:layout_constraintHorizontal_bias=&quot;0.0&quot;
      app:layout_constraintStart_toStartOf=&quot;parent&quot;
      app:layout_constraintTop_toBottomOf=&quot;@+id/editText&quot;
      app:layout_constraintVertical_bias=&quot;0.509&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;`
  </code></pre>
  <p>When there is more than one line of output in <code>@+id/textView2</code> the text touches the left/start of the parent layout.How can I make it not to touch the start of the parent view when there is more than one line of output.</p>
  <p>Here is the calculate function :</p>
  <pre><code>public void claculate(View view){
          String s = editText.getText().toString();// Taking the value of the editText and converting it to string Using to string.
          Double kg = Double.parseDouble(s);// converting string to int.
          double pound = 2.205 * kg;
          textView2.setText(MessageFormat.format(&quot;The value in the pounds is {0}lbs&quot;, pound));
      }
  }
  
  Thanks in advance:)
  </code></pre>