I have searched internet and tried the following code but its not working
SpannableString ss1 = new SpannableString(\"Health: \"); ss1.setSpan(new and
I would use a string resource such as this:
Health: %1$s
When you want to set the health status just use this code:
String ss1 = getString(R.string.health_status, strhealth);