0

Scroll view showing correct layout with ltr(English) while I switched the language to rtl(arabic) scroll view's leading and trailing constraint are distorted, they are more shifted towards left

hem
  • 1,012
  • 6
  • 11

1 Answers1

0

Arabic among other languages is written right to left and leading + trailing are aligning towards that. If you want it static you should use left and right

Vollan
  • 1,887
  • 11
  • 26
  • I used 20 left and 20 right then it was ok in english but shifted towards left in arabic but as I changed 20 left and -20 right it was fine in both.Can u explain why?? – Hell Heaven Aug 11 '19 at 18:19