@SuppressWarnings("DiscouragedApi")
    private static Drawable getStageNumberMarker(final Resources res, final int stageNum, final float scaling) {
        int counter = stageNum;
        while (counter > 10) {
            counter = counter - 10;
        }
        final String packageName = CgeoApplication.getInstance().getPackageName();
        // if we are ever going to remove this feature, the corresponding drawables must be removed manually (as they have set tools:ignore="UnusedResources" to avoid false warnings)
        return new ScalableDrawable(ResourcesCompat.getDrawable(res, res.getIdentifier("marker_stagenum_" + counter, "drawable", packageName), null), scaling);
    }
Create a LayerDrawable showing the caches difficulty and terrain rating. If the connector doesn't support D/T show a "-" instead, if the info is missing (not loaded) a "?"
@param res           Resources bundle
@param difficulty    Difficulty rating
@param terrain       Terrain rating
@return              LayerDrawable composed of round background and foreground showing the ratings
main/src/main/java/cgeo/geocaching/utils/MapMarkerUtils.java