hi, all i want to do is to define string in strings.xml like this:
hello <b>%s</b> the problem is that i cannot simply get such SpannedString since if i have any rich tag like <b></b> i have to use Resources.getText(id) and if i have any params like %s i have to use Resources.getString(id, Object...) but if i have them both i would have to use Resources.getText(id, Object...) but, well, there is no such method... i worked-around this by creating SpannableStringBuilder ssb, and for each % param i call ssb.replace(int, int, CharSequence) do you know any better solution for this? thanks pskink --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---