Reputation: 2263
In my application I have a text view that represents song title, which means it can be filled with titles in different languages. I'm having a strange problem :
When I do myTextView.setText("שלום")
it won't show anything.
But if I do the same in the xml file (as text property) it does show the text ?
Upvotes: 1
Views: 543
Reputation: 502
for me the problem was messing with line spacing -
textView.setLineSpacing(0,0);
just in case it will help someone
Upvotes: 0
Reputation: 2263
Found the problem, I had an attribute of android:singleLine="true"
and it didn't work fine with hebrew
Upvotes: 6