How the layout design is kept same on the rotation in android

view full story

http://stackoverflow.com – I have created a layout which particularly having some buttons situated at its bottom. It works fine for portrait view. But when I rotate my tab the layout gets disturbed. Could anyone tell me how to keep the same view of layout on both rotations (HowTos)