我有一个activity
,它创建并显示dialog
在onCreate
. dialog
由AlertDialog.Builder
. _ 它显示正确,除非我旋转屏幕时,dialog
不旋转....
怎么解决,thx
显现
<activity android:excludeFromRecents="true" android:name="com.xxx.yyy" android:process=":core" android:theme="@android:style/Theme.Translucent.NoTitleBar"> </activity>
活动
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
AlertDialog.Builder builder = new AlertDialog.Builder(this);
dialog = builder.create();
dialog.show();
}