当前位置: 动力学知识库 > 问答 > 编程问答 >

Android String from Html or direct initialise with getting wrong String like []

问题描述:

I have tried to parse Html code in String with correct Html code code to get this String but not able to get that String. also i have assign direct sign but its return [] String.

code.

 if (btn_tag.equals("op_sangle") {

str_text = " " + Html.fromHtml("∢";

//or

// str_text = " ";

}

here str_text = [] gets its wrong.

分享给朋友:
您可能感兴趣的文章:
随机阅读: