Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
If a TextView has a georgian text, I see only spaces.
i.e
String georgString = "("+"სახლი ქუჩის ბოლოში"+")";
I see:
"( )"
如果 TextView 有格鲁吉亚文本,我只会看到空格。
我找到了快速的解决方案。您需要将公历文本添加到strings.xml其中,然后它将起作用。
strings.xml
<string name="test">(სახლი ქუჩის ბოლოში)</string> // an usage textView.setText(getString(R.string.test));
(我刚刚对其进行了测试并且它有效。如果您直接分配文本,则可能存在编码问题,但使用资源时您不必处理它)。让我知道。