title: Assigning wrap content in dimens
body: <p>I want to support both small screens and large screens</p>
  
  <p>I have an image view in my layout - that in small screens it needs a layout height of "wrap_content"</p>
  
  <p>and in large screens it needs 400dp (wrap content is too small)</p>
  
  <p>instead of creating another layout, i wanted to create a dimension</p>
  
  <pre><code>&lt;dimen name="layout_height"&gt;wrap_content&lt;/dimen&gt;
  
  &lt;dimen name="layout_height"&gt;400dp&lt;/dimen&gt;
  </code></pre>
  
  <p>and assign them to the right folders
  and in my imageview write</p>
  
  <pre><code>layout_height=@dimen/layout_height
  </code></pre>
  
  <p>is this possible in any way, without creating another layout ?</p>