title: AppWidget issue on tablets
body: <p>i designed an appwidget which should take up a width of 4 cells and a height of 1 cell.</p>
  
  <p>Based on the <a href="http://developer.android.com/guide/practices/ui_guidelines/widget_design.html" rel="nofollow noreferrer">docs</a> this should be a 4x1 appwidget:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
  android:minWidth="250dp"
  android:minHeight="40dp"
  android:updatePeriodMillis="90000000"
  android:previewImage="@drawable/widgetlayout_2"
  android:initialLayout="@layout/main" &gt;
  &lt;/appwidget-provider&gt;
  </code></pre>
  
  <p><strong>Notice:</strong> <code>@layout/main</code> has width and height <code>match_parent</code>. It has nothing to do with the size of the <code>appwidget</code>, that is why i don't post the <code>XML-code</code> of <code>main</code>.</p>
  
  <p>Everythink works fine on phones, maybe because you can't rotate them when on the homescreen.</p>
  
  <p>But on tablet(tested with <strong>Nexus 10 XHDPI 2560x1600 API16</strong>) the <code>appWidget</code> is only measured with <strong>3x1</strong>!</p>
  
  <p>There is a similar <a href="https://stackoverflow.com/questions/11868015/4x4-appwidgets-are-detected-as-3x3-on-tablets">question</a> on stack with no answere. Maybe someone got an update.</p>
  
  <p>The next issue is, that in landscape my design of the appwidget is as expected. But in Portrait, my <code>appWidget</code> got shrinked on the homescreen, the layout is messed up? Does somebody know how to prevent this, my only Approach would be to define a <code>layout-xlarge-port</code> Folder in my Project and put a customized layout for tablet in port mode in there?</p>
  
  <p>Any help is appreciated!</p>