This is my question:
My program have 2 widgets. One of them is 4×1 cells size.
This widget has an icon(has the same width as widget itself) set in manifest file
android:icon="@drawable/widget_4bg"
My problem is that on android OS 4.x mobiles in the widget list, the icon is not spread on entire 4 cells but only in one.

How can I set correctly icon programmatically?
Try using this.
sample xml widget_info
Update