I\'m creating a 1x1 Android widget. I have designed images for each screen density as follows:
ldpi (120 DPI) = 72 * (120 / 160) == 54 x 54 pixels
mdpi (160 D
Before Android 4.0: (n * 74dip) - 2dip http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html
Android 4.0: 70 × n − 30 http://developer.android.com/guide/practices/ui_guidelines/widget_design.html#anatomy
There's also padding that is automatically added when android:targetSdkVersion="14 or higher" is set.