title: Is the constructor or setLayoutParams() that takes two integers in Android in px or dip?
body: <p>I have been going through tutorials, and have been trying to understand some things, but I am a little confused about this statement:</p>
  
  <pre><code>imageView.setLayoutParams(new GridView.LayoutParams(85, 85));
  </code></pre>
  
  <p>The Doc says width and height (meaning the two 85's), or how its displayed on the screen. But is that the same as doing this in a grid view in an xml file?</p>
  
  <pre><code>&lt;GridView
      android:layout_height="85"
  ...
  </code></pre>
  
  <p>Doesn't seem right to me, which is why I ask. Any help is much appreciated.</p>