title: Use Java 1.7 and Android KitKat R.Layout issue.
body: <p>I am trying to use a .jar file for prettifying my code(in app). For this I have found an answer to a question <a href="https://stackoverflow.com/questions/11987660/android-syntax-highlighting/19787125#19787125">here</a></p>
  
  <pre><code> private static Map&lt;String, String&gt; buildColorsMap() {
      Map&lt;String, String&gt; map = new HashMap&lt;&gt;();
      map.put("typ", "87cefa");
      map.put("kwd", "00ff00");
      map.put("lit", "ffff00");
      map.put("com", "999999");
      map.put("str", "ff4500");
      map.put("pun", "eeeeee");
      map.put("pln", "ffffff");
      return map;
  }
  </code></pre>
  
  <p>To use this new Hashmap with &lt;> angle brackets, I need to use Java 1.7 (which requires minSdk version of 18). When I update my compiler complaiance level to use 1.7, I get an error in my project, so need to clean. Once I clean the project, I get errors on my R.layout.XXX lines. It seems to be messing with this call to UI elements everywhere. Does anybody have any clue how to fix this issue? </p>