title: Disable hardware acceleration, backward compatibility
body: <p>I have a problem with a function (<code>setLayerType(LAYER_TYPE_NONE, null)</code>) available in api >=11, and my code should run on android 1.6 (API level 4) too.
  I have tried to use reflection like this:</p>
  
  <pre><code>try {
  
          Method method = View.class.getMethod("setLayerType", Integer.TYPE, null);
          method.invoke(LAYER_TYPE_NONE, null);
          view.setLayerType(LAYER_TYPE_NONE, null);
      } catch (Throwable e) {
          Log.e("_________________test", "Function not found");
      }
  </code></pre>
  
  <p>but my app crash at view.setLayerType with java.lang.VerifyError....</p>
  
  <p>Does anybody have any idea how can I workaround this crash and get a backward compatibility with this function in lower level api?</p>
  
  <p>Thanks,
  Arkde</p>