I am new to android, love to learn.. 

I am just building a basic application which has a login page and sign up page. I want to add orientation change with the data saved from portrait to landscape.

Kindly suggest to me some code.