解决方法
反斜杠双引号在
XML布局中不起作用.您应该使用HTML代码(quot),如下所示:
<TextView android:layout_width="wrap_content" android:layout_height="fill_parent" android:text="Here goes my "escaped" text!" />
Here goes my “escaped” text!
XML有5 of these predifined entities:
" " & & ' ' < < > >