title: android dimens value for different resolution devices
body: <p>I want setup different dimen-values for different resolution(dp) devices, how ?</p>
  
  <p>just in my dimens.xml</p>
  
  <pre><code> &lt;resources&gt;
  
      &lt;!-- for 1280x720 dp ,Default screen margins, per the Android Design guidelines. --&gt;
  
      &lt;dimen name="image_thumbnail_size"&gt;200dp&lt;/dimen&gt;
      &lt;dimen name="image_thumbnail_spacing"&gt;2dp&lt;/dimen&gt;
      &lt;dimen name="image_detail_pager_margin"&gt;160dp&lt;/dimen&gt;
      &lt;dimen name="activity_horizontal_margin"&gt;80dp&lt;/dimen&gt;
      &lt;dimen name="activity_vertical_margin"&gt;100dp&lt;/dimen&gt;
  
      &lt;!--  for 640x360 dp --&gt;
  &lt;!-- 
          &lt;dimen name="image_thumbnail_size"&gt;100dp&lt;/dimen&gt;
      &lt;dimen name="image_thumbnail_spacing"&gt;2dp&lt;/dimen&gt;
      &lt;dimen name="image_detail_pager_margin"&gt;80dp&lt;/dimen&gt;
      &lt;dimen name="activity_horizontal_margin"&gt;40dp&lt;/dimen&gt;
      &lt;dimen name="activity_vertical_margin"&gt;30dp&lt;/dimen&gt;
       --&gt;
  </code></pre>
  
  <h2>    </h2>
  
  <p>add:
  I have two devices, the resolution is 1280x720 ,but my phone dp is 640x360 , and another is 1280x720</p>