title: Android and setting width and height programmatically in dp units
body: <p>I'm doing:</p>
  
  <p><code>button.setLayoutParams(new GridView.LayoutParams(65, 65));</code></p>
  
  <p>According to the docs the units for the width and height (both 65 in the above) are "pixels". How do you force this to be device independent pixels, or "dp"?</p>