code: private void  setSoftwareLayerType()
     {
        if (setLayerTypeMethod == null)
           return;
  
        try
        {
           int  LAYER_TYPE_SOFTWARE = View.class.getField("LAYER_TYPE_SOFTWARE").getInt(new View(getContext()));
           setLayerTypeMethod.invoke(this, LAYER_TYPE_SOFTWARE, null);
        }
        catch (Exception e)
        {
           Log.w("SVGImageView", "Unexpected failure calling setLayerType", e);
        }
     }
docs: /*
  Use reflection to call an API 11 method from this library (which is configured with a minSdkVersion of 8)