title: Resizeable widget backwards compatibility
body: <p>I want to offer the user the following widget setup for the different Android versions:</p>
  
  <ul>
  <li>2.3 to 3.0: 2 widgets, one is 1x1, the other is 2x2</li>
  <li>3.1+: 1 resizeable widget only</li>
  </ul>
  
  <p>i.e. <em>I would like to offer more widgets to the user on Gingerbread</em>, because we cannot resize them.</p>
  
  <h2>Reason:</h2>
  
  <ul>
  <li><em>as a user of 3.1+</em>, I do not want to see many duplicated widget sizes. I want to see 1 widget, which I can resize</li>
  <li><em>as a user of 2.3</em>, I cannot resize. I want to see 2 widgets, with different sizes.</li>
  </ul>
  
  <hr>
  
  <h2>What I know:</h2>
  
  <ul>
  <li>I can use <code>android:resizeMode="horizontal|vertical"</code> in my XML targetting current version, and that will be ignored on 2.3. This will not break the widget</li>
  <li>Or I can use XML folder targetting specific API levels e.g. <code>xml\</code> &amp; <code>xml-v12</code>. </li>
  </ul>
  
  <p>But the 2nd option only allows resources in <code>xml\</code> to be <em>replaced</em> if they are redeclared in <code>xml-v12\</code>. </p>
  
  <p><strong>Is there a way to remove resources in later API versions, instead of replacing them?</strong></p>
  
  <hr>
  
  <h2>Workaround:</h2>
  
  <ol>
  <li>Declare 2 widgets in the manifest, but disable one of them.</li>
  <li>When the app is run for first time on an earlier device, enable the second widget.</li>
  <li>As long as the user runs the app before trying to install widgets, the effect is perfect.</li>
  </ol>
  
  <p>(Note: as per @CommonsWare it is better to enable both widgets by default, and disable the one on the first run of the app on 3.1+)</p>