Change Guideline percentage in constraint layout programmatically : <p>I have a guideline in constraint layout like this </p>

<pre><code>&lt;android.support.constraint.Guideline
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:id="@+id/guideline8"
    app:layout_constraintGuide_percent="0.5"
    android:orientation="vertical"/&gt;
</code></pre>

<p>Later I want to change the <code>app:layout_constraintGuide_percent</code> value to something else conditionally. How can I achieve this.</p>
