jollybeeapp / android-spectrum-analyzer

Automatically exported from code.google.com/p/android-spectrum-analyzer
0 stars 0 forks source link

Debug Dialog appears each orientation change #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start the application;
2. Change orientation;

- Expected, orientation change without a confirmation dialog;

- Current behaviour: each orientation change the debug dialog is shown;

Original issue reported on code.google.com by luander...@gmail.com on 3 Feb 2012 at 1:47

GoogleCodeExporter commented 9 years ago

Original comment by zz4...@gmail.com on 3 Feb 2012 at 2:46

GoogleCodeExporter commented 9 years ago
Added attribute android:configChanges="orientation|keyboardHidden" to manifest 
file in the activity definition. it prevents the system from restarting the 
activity and then calling onresume. For further information see: 
http://developer.android.com/guide/topics/resources/runtime-changes.html

Original comment by zz4...@gmail.com on 3 Feb 2012 at 3:18