Hello.
1. I have a B4XFloatTextField in the designer, and the background and border are set (white and black), but I still only see a single white underline when I run the app (just like an ordinary EditText view). The floating hint and other features work, but the background is transparent. Please advise.
2. How can I set the text orientation to RightToLeft? In B4J textfields, I did it using the following code:
Thanks in advance.
p.s. I do realize that if you start typing with the keyboard set to a right-to-left language (like Farsi), it automatically types right to left, but then if you press enter once, it won't go back to farsi again no matter how many times you switch. besides, I'd like to show the cursor on the right side from the start, and for the orientation to be fixed as right to left no matter the language chosen.
1. I have a B4XFloatTextField in the designer, and the background and border are set (white and black), but I still only see a single white underline when I run the app (just like an ordinary EditText view). The floating hint and other features work, but the background is transparent. Please advise.
2. How can I set the text orientation to RightToLeft? In B4J textfields, I did it using the following code:
B4X:
Dim jo As JavaObject = MyTextfield
jo.RunMethod("setNodeOrientation", Array("RIGHT_TO_LEFT"))
Thanks in advance.
p.s. I do realize that if you start typing with the keyboard set to a right-to-left language (like Farsi), it automatically types right to left, but then if you press enter once, it won't go back to farsi again no matter how many times you switch. besides, I'd like to show the cursor on the right side from the start, and for the orientation to be fixed as right to left no matter the language chosen.
Last edited: