title: How to define dimens.xml for every different screen size in android?
body: <p>When supporting different screen sizes (densities) in <strong>Android</strong> often the focus is on creating different layouts for every possible screen. I.E.</p>
  
  <ul>
  <li>ldpi</li>
  <li>mdpi</li>
  <li>hdpi</li>
  <li>xhdpi</li>
  <li>xxhdpi</li>
  <li>xxxhdpi</li>
  </ul>
  
  <p>I designed a layout for an <strong>xhdpi</strong> screen as a reference, and defined it's <strong>dimensions</strong> in <strong><em>dimens.xml</em></strong>. Now <strong>I want to give support it to every possible screen size. How can I do that?</strong></p>
  
  <p>As far as I know, I can use <a href="http://androidpixels.net/" rel="noreferrer">this</a> tool to figure out the proper <strong><em>dimens.xml</em></strong> for other screen sizes and add it to my project. Is this the right way to do it in my situation?</p>
  
  <p>Another question, <strong>do I only need to create <em>dimens.xml</em> for above screen dimensions? If yes then what is <em><code>w820dp</code></em>?</strong></p>
  
  <p>Thanks for your help. I need to support <strong>phones only</strong> (not tablets or other devices).</p>