title: How formatted string and then change style by annotations
body: <p>i have 3 strings localizations</p>
  
  <pre><code>&lt;string name="tests" formatted="true"&gt;Test&lt;annotation font="bold"&gt; testBold %1$s&lt;/annotation&gt; end&lt;/string&gt;
  &lt;string name="tests" formatted="true"&gt;Тест&lt;annotation font="bold"&gt; тестБолд %1$s&lt;/annotation&gt; конец&lt;/string&gt;
  &lt;string name="tests" formatted="true"&gt;Тест&lt;annotation font="bold"&gt; тестБолд %1$s&lt;/annotation&gt; кінець&lt;/string&gt;
  </code></pre>
  
  <p>How i can add some argument and modified text by annotation then. The maximum that I get is to do this one thing</p>
  
  <pre><code>CharSequence t = getResources().getString(R.string.tests, "myValue");//in this case i lose my annotation, but set my argument
  //OR
  CharSequence t = getText(R.string.tests);//in this case i lose my argument but get style BOLD
  
  public SpannableString textFormattingByTags(CharSequence t) {
          SpannedString titleText = new SpannedString(t);
          SpannedString titleText = (SpannedString) getText(R.string.tests);
          Annotation[] annotations = titleText.getSpans(0, titleText.length(), Annotation.class);
          SpannableString spannableString = new SpannableString(titleText);
          for (Annotation annotation : annotations) {
              if (annotation.getKey().equals("font")) {
                  String fontName = annotation.getValue();
                  if (fontName.equals("bold")) {
                      spannableString.setSpan(new CustomTypefaceSpan("",fontBold),
                              titleText.getSpanStart(annotation),
                              titleText.getSpanEnd(annotation),
                              Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
                  }
              }
          }
          return spannableString;
      }
  </code></pre>
  
  <p>result in first case i get "Test testBold MyValue end" in second "Test <strong>testBold %1$s</strong> end". Who had some ideas?</p>