I have a code on ICS for tablets. I want to add a Imageview dynamicly to a fragment. The fragment already contains preferencelist. The code for adding the view dynamically
Try setting gravity to Gravity.TOP | Gravity.LEFT
Gravity.TOP | Gravity.LEFT