public void addWideHtml(final int nameId, final CharSequence value, final String geocode) {
        final NameValueLine nameValue = createNameValueLine(nameId);
        nameValue.layout.findViewById(R.id.name).setVisibility(GONE);
        final TextView valueView = nameValue.valueView;
        final String label = nameId > 0 ? res.getString(nameId) + ": " : "";
        valueView.setText(HtmlCompat.fromHtml(label + value.toString(), HtmlCompat.FROM_HTML_MODE_LEGACY, new SmileyImage(geocode, valueView), new UnknownTagsHandler()), TextView.BufferType.SPANNABLE);
    }
Create a "name: value" line with html content.

@param nameId  the resource of the name field
@param value   the initial value
@param geocode the geocode for image getter
@return a pair made of the whole "name: value" line (to be able to hide it for example) and of the value (to update it)
main/src/main/java/cgeo/geocaching/ui/CacheDetailsCreator.java