I have an activity
and it creates and shows dialog
in onCreate
.
The dialog
is made by AlertDialog.Builder
.
It shows properly except when I rotate the screen, the dialog
does not rotate....
How to solve it, thx?
Manifest
<activity android:excludeFromRecents="true" android:name="com.xxx.yyy" android:process=":core" android:theme="@android:style/Theme.Translucent.NoTitleBar"> </activity>
Activity
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AlertDialog.Builder builder = new AlertDialog.Builder(this);
dialog = builder.create();
dialog.show();
}