Code example for Gallery.LayoutParams