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.
STRING をテキストビューで表示しようとしています 。私の車の名前は「abc」です。
「abc」と表示されます。アプリケーションを実行した後。
" にデコードしてから TextView に割り当てようとしましたが、常に " を &qout; に変換します。
この問題を解決する方法を教えてもらえますか?
どんな助けでも感謝します。
それらをエスケープします。"XML 値に引用符を付けるために使用します。 たとえば、試してみてください: android:text="" hi ""
"
android:text="" hi ""
私はそれをエスケープしてやった"
"
例:
<string name="pref_about_text">Estado del Tránsito versión \"%s\"\nCreado por:</string>