Text like "20 minutes before" will be "minutes before 20" in RTL mode.
I feel like the system takes number as Arabic word, thus force 20 to the very right of the text.
<TextView
android:id="@+id/Mytext"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:gravity="end|right|center_vertical"
android:paddingLeft="4dp"
android:paddingStart="4dp"
android:text="5 minutes before"
android:textDirection="locale"/>
Original string "20 minutes before" is expected.