title: How to create crisp background image for 1x1 Android widget?
body: <p>I'm creating an a 1x1 widget, and no matter what I try, I just can't get the background image looking nice and crisp.  I've read just about any resource I can find, yet I still can't win.</p>
  
  <p>I'm designing for the HTC Desire/Nexus 1, and would love someone to tell me when creating the background in Photoshop, what dpi/height/width to use (currently using 72/100/80).  I'll worry about other devices resolutions once I can get it looking nice on my test device first.</p>
  
  <p>Also, if there's anything special I need to be putting in the @layout/main.xml and Widget_Provider.xml files.  I simply can't find any examples for 1x1 gadgets, so have the following:</p>
  
  <p>main.xml</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  android:id="@+id/widget"
  android:layout_width="fill_parent"
  android:orientation="vertical"
  android:background="@drawable/background" 
  android:layout_gravity="center" 
  android:layout_height="wrap_content"&gt;
  </code></pre>
  
  <p>Widget_Provider.xml</p>
  
  <pre><code>&lt;appwidget-provider xmlns:android="http://schemas.android.com/apk/res/android"
  android:minWidth="72dip"
  android:minHeight="72dip"
  android:updatePeriodMillis="6000000"
  android:initialLayout="@layout/main"
  /&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>