title: Android SDK - warnings in Hello World
body: <p>being new to the Android SDK (but not Java), I have a probably trivial question about warnings in the Hello World app. I realize warnings aren't errors, but I like my logs clean and warnings are typically there for a reason.</p>
  
  <p>First off, there is a line in the <code>HelloWorldActivity</code> saying:</p>
  
  <pre><code>setContentView(R.layout.main);
  </code></pre>
  
  <p>However, the validator complains that "<em>The resource R.layout.main appears to be unused"</em> in Line 1 of <code>main.xml</code>. Why is this the case? Can I get rid of it?</p>
  
  <p>Secondly, the project in Eclipse came with three folders named drawable-Xdpi, where X is l, m or h. The validator shows a warning <em>"Missing density variation folders in res: drawable-xhdpi</em>". I assumed my Eclipse version was old, added a new drawable folder similar to the others and created an icon of the appropriate size 96x96. However, the warning still appears as if the new drawable folder is not there. Did I forget something?</p>
  
  <p>I have searched for others with the same problem, found some, but no solution was given. Any help is appreciated.</p>