title: Cannot set TextView's gravity in constraint layout
body: <p>I am programmatically adding TextView to ConstrainLayout. Positioning works fine, but I cannot set text's gravity to left. It's centered between guidelines. </p>
  
  <pre><code>conLayout.addView(myTextView);
  ConstraintSet constraintSet = new ConstraintSet();
  constraintSet.clone(conLayout);
  constraintSet.connect(myTextView.getId(), ConstraintSet.TOP, divider.getId(), ConstraintSet.BOTTOM);
  constraintSet.connect(myTextView.getId(), ConstraintSet.LEFT, R.id.guideline1, ConstraintSet.LEFT);
  constraintSet.connect(myTextView.getId(), ConstraintSet.RIGHT, R.id.guideline2, ConstraintSet.LEFT);
  constraintSet.constrainDefaultHeight(myTextView.getId(), ConstraintSet.WRAP_CONTENT);
  constraintSet.applyTo(conLayout);
  myTextView.setGravity(Gravity.LEFT);
  </code></pre>
  
  <p>When I do all the above in XML, gravity is working, but I need to add this textview programmatically.</p>