public void addLatestLogs(final Geocache cache) {
        final List<LogEntry> logs = cache.getLogs();
        if (logs.isEmpty()) {
            return;
        }

        final Context context = parentView.getContext();
        final LinearLayout markers = createNameLinearLayoutLine(R.string.cache_latest_logs);

        final int smileySize = (int) (context.getResources().getDimensionPixelSize(R.dimen.textSize_detailsPrimary) * 1.2);
        final LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(smileySize, smileySize);
        lp.setMargins(0, 0, 5, 0);

        int i = 0;
        while (i < logs.size() && markers.getChildCount() < 8) {
            final int marker = logs.get(i++).logType.getLogOverlay();
            final ImageView logIcon = new ImageView(context);
            logIcon.setLayoutParams(lp);
            logIcon.setBackgroundResource(marker);
            markers.addView(logIcon);
        }
    }
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