I am using a StaticLayout and using some RTL text.
The problem is that it's not handling RTL well. In TextView
you can set a "textDirection". is there any way to do it here too?
Thanks!
Try using the left-to-right mark in the string:
left-to-right mark: ‎ or ‎ (U+200E)
right-to-left mark: ‏ or ‏ (U+200F)
So in your string try usןמע in the following way
String rtl = "\u200F ימין לשמאל";