Use XML CDATA
<string name="demoStr"><Data><![CDATA[ <b>ABC</b> ]]> </Data></string>
getString() will be got "<b>ABC</b>"
More Related Contents:
- how to send string from one activity to another without starting second activity [duplicate]
- how to get random string value from list – android [closed]
- How do i start a new line in String? [duplicate]
- How to set the part of the text view is clickable
- Android: How do I get string from resources using its name?
- Change value of R.string programmatically
- Is it possible to have placeholders in strings.xml for runtime values?
- Reference one string from another string in strings.xml?
- Android sample bluetooth code to send a simple string via bluetooth
- How to get string width on Android?
- Change text color of one word in a TextView
- Different font size of strings in the same TextView
- how to read value from string.xml in android?
- Get Real Path For Uri Android
- Android: How can I Convert String to Date?
- How to write character & in android strings.xml
- Android: android.content.res.Resources$NotFoundException: String resource ID #0x5
- Get text from web page to string
- Live editing of users input
- Android Intent.getStringExtra() returns null
- Retrieve String out of addValueEventListener Firebase
- Read file As String
- Load language specific string from resource?
- Concatenate multiple strings in XML?
- Android: html in strings.xml
- Difference between getString() and getResources.getString()
- Read Assets file as string
- How to get a string back from AsyncTask?
- Is there a faster way to decode html characters to a string than Html.fromHtml()?
- Convert hex string to byte []