Here is a piece of Java code:
private void setMatchesFound(int found) {
String template = mBrowserActivity.getResources().
getQuantityString(R.plurals.matches_found, found, found);
mMatches.setText(template);
}
and the corresponding XML resource:
No matches
1 match
d
(
Read more... )