зеркало из https://github.com/mono/mail-archives.git
86 строки
3.1 KiB
HTML
86 строки
3.1 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [mono-android] Handling Config Changes
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Handling%20Config%20Changes&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="008143.html">
|
|
<LINK REL="Next" HREF="008145.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[mono-android] Handling Config Changes</H1>
|
|
<B>was</B>
|
|
<A HREF="mailto:monodroid%40lists.ximian.com?Subject=%5Bmono-android%5D%20Handling%20Config%20Changes&In-Reply-To="
|
|
TITLE="[mono-android] Handling Config Changes">skylogdev at btconnect.com
|
|
</A><BR>
|
|
<I>Fri Dec 30 08:45:45 EST 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="008143.html">[mono-android] Error in loading the Mono.Cairo Library
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008145.html">[mono-android] Handling Config Changes
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8144">[ date ]</a>
|
|
<a href="thread.html#8144">[ thread ]</a>
|
|
<a href="subject.html#8144">[ subject ]</a>
|
|
<a href="author.html#8144">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>I want to restart an activity when the user changes the screen orientation.
|
|
The docs say:
|
|
|
|
"public static final int configChanges
|
|
|
|
Since: API Level 1
|
|
|
|
Specify one or more configuration changes that the activity will handle
|
|
itself. If not specified, the activity will be restarted if any of these
|
|
configuration changes happen in the system. Otherwise, the activity will
|
|
remain running and its Activity.onConfigurationChanged method called with
|
|
the new configuration. "
|
|
|
|
I haven't set any config flags in the AndroidManifest, but changes to screen
|
|
orientation do not cause the activity currently active to restart -
|
|
presumably by firing OnCreate - as the docs imply should happen. Am I
|
|
misunderstanding this? Using MfA 1.2
|
|
|
|
Regards...Andrew
|
|
|
|
|
|
--
|
|
View this message in context: <A HREF="http://mono-for-android.1047100.n5.nabble.com/Handling-Config-Changes-tp5110047p5110047.html">http://mono-for-android.1047100.n5.nabble.com/Handling-Config-Changes-tp5110047p5110047.html</A>
|
|
Sent from the Mono for Android mailing list archive at Nabble.com.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="008143.html">[mono-android] Error in loading the Mono.Cairo Library
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008145.html">[mono-android] Handling Config Changes
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8144">[ date ]</a>
|
|
<a href="thread.html#8144">[ thread ]</a>
|
|
<a href="subject.html#8144">[ subject ]</a>
|
|
<a href="author.html#8144">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/monodroid">More information about the Monodroid
|
|
mailing list</a><br>
|
|
</body></html>
|