1

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 ?

4

2 回答 2

6

发现了问题,我有一个属性,android:singleLine="true"但它不适用于希伯来语

于 2013-05-27T00:23:54.110 回答
0

对我来说,问题是弄乱了行距-

textView.setLineSpacing(0,0);

以防万一它会帮助某人

于 2021-04-21T11:50:16.790 回答