title: setting a max width for my dialog
body: <p>My dialog is using a linearlayout for its root, and its using the following code as its custom theme:</p>
  
  <pre><code>    &lt;style name="HuskyBusDialog"&gt;
      &lt;item name="android:windowNoTitle"&gt;true&lt;/item&gt;
      &lt;item name="android:windowFrame"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowBackground"&gt;@drawable/panel_background&lt;/item&gt;
      &lt;item name="android:windowIsFloating"&gt;true&lt;/item&gt;
      &lt;item name="android:windowContentOverlay"&gt;@null&lt;/item&gt;
      &lt;item name="android:windowAnimationStyle"&gt;@android:style/Animation.Dialog&lt;/item&gt;
      &lt;item name="android:windowSoftInputMode"&gt;stateUnspecified|adjustPan&lt;/item&gt;
      &lt;item name="android:colorBackgroundCacheHint"&gt;@null&lt;/item&gt; 
  &lt;/style&gt;
  </code></pre>
  
  <p>Is it possible to set a max width? Its fine on phones but im trying to optimize it for tablets and they are too big.</p>