I am programatically adding custom views to a vertical LinearLayout, and I would like there to be some space between the views. I have tried adding: setPadding(0, 1, 0, 1)
If you use ActionBarSherlock, you can use com.actionbarsherlock.internal.widget.IcsLinearLayout :
...