I learned here http://www.b4x.com/android/forum/threads/hebrew-direction.34882/ that Right to Left languages are not supported yet by jave, and made this class to solve the problem of wrong-direction in Hebrew text display.
I created the important methods, others can be added.
example attached.
Edit: I improved the class to ver 2 by changing the reversing sub to handle single words in a sentence, so the combination of English and Hebrew words in a sentence goes well. I leave the first version also.
Reverse sub can be used for labels and other text-showing places.
I created the important methods, others can be added.
example attached.
Edit: I improved the class to ver 2 by changing the reversing sub to handle single words in a sentence, so the combination of English and Hebrew words in a sentence goes well. I leave the first version also.
Reverse sub can be used for labels and other text-showing places.
Attachments
Last edited: