aadhagupta aadhagupta - 9 months ago 34
Android Question

android orientation change with savedInstanceState and retrieveInstanceState for signup page

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.


In Manifest file add below code within the activity tag

<activity android:configChanges="orientation|screenSize|keyboard" />