tnex_johan tnex_johan - 27 days ago 10
Android Question

Android : ConstraintLayout support RTL

I gone through many solutions but i didn't understand the how to make design support to RTL Using

ConstraintLayout
in android.

Answer Source

Just replace the constraints from Left to Start & Right to End ,

app:layout_constraintLeft_toRightOf = layout_constraintStart_toEndOf
app:layout_constraintRight_toLeftOf = layout_constraintEnd_toStartOf
app:layout_constraintLeft_toLeftOf = layout_constraintStart_toStartOf
app:layout_constraintRight_toRightOf = layout_constraintEnd_toEndOf

I am sure it does works perfectly for you,

See my Paradigm item_list.xml

LTR Screenshot

English

RTL Screenshot

RTL

Note : You need to remove textAlignment property