I can't find a method that does this, but is there a way to reset the LayoutParams on an item?
On rotation of the device, I change the layout params. When I turn back to portrait, I want to change them back to the XML values. Do I just have to define new layout params that match what is in the XML?