From: kruland2607 Date: Wed, 8 Feb 2012 02:22:45 +0000 (+0000) Subject: Second checkpoint commit of OpenRocketLoader to make it orientation change safe.... X-Git-Tag: upstream/12.03~1^2~72 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c5462892da30eb209d2616267f1aa8363f743371;p=debian%2Fopenrocket Second checkpoint commit of OpenRocketLoader to make it orientation change safe. Changed Main.java to register onclick listeners in java instead of the layout. Store the WarningSet in Application so it doesn't need to be serialized if the OpenRocketLoaderActivity is recreated during an orientation change. Fix the MissingMotorDialogFragment to only have the string and not the whole WarningSet. Finally completely rewrote the OpenRocketLoaderTask into a Fragment managing its own dialog. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@399 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/android/res/layout-land/main.xml b/android/res/layout-land/main.xml index 0d682a0b..fc528025 100644 --- a/android/res/layout-land/main.xml +++ b/android/res/layout-land/main.xml @@ -13,34 +13,31 @@ android:layout_width="wrap_content" android:layout_height="match_parent" android:orientation="vertical" > - + - + - -