title: How to put multiple widget sizes in one apk?
body: <p>What I'm trying to do is have a clock widget of different sizes (i.e. 2x2, 3x3, 4x4 etc) in one apk and a configuration activity to be able to select which size to add.</p>
  
  <p>From what i've learned from documentation:</p>
  
  <ol>
  <li>Widget size is specified in &lt;appwidget-provider&gt; tag in respective xml file</li>
  <li>Also in that file I set up the configuration activity for that provider</li>
  </ol>
  
  <p>So it seems that size is a property of AppWidgetProvider and I'll need to somehow create another provider from the code in configuration Activity of the first one...
  Or am I getting this wrong and there's another way?</p>
  
  <p>Is this possible at all? :)
  I've been told that some widgets can do this :)</p>
  
  <p>Thanks in advance!</p>
  
  <p>P.S. I have read <a href="https://stackoverflow.com/questions/2570004/how-to-add-multiple-widgets-in-one-app">this</a> and <a href="https://stackoverflow.com/questions/1860914/changing-widget-layout-programmatically">this</a>. First one explains how to put multiple wigets in one apk, but it's not clear how to select between them in runtime. Second one is about changing layouts, but not size...</p>