From: kruland2607 Date: Thu, 26 Jan 2012 15:36:15 +0000 (+0000) Subject: Rewrite the simulation graph component. It is now implemented as a fragment with... X-Git-Tag: upstream/12.03~1^2~95 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=49257616b7cb126b121c8c276644b6fc5c0c93b1;p=debian%2Fopenrocket Rewrite the simulation graph component. It is now implemented as a fragment with a menu to configure the serieses and display a list of the flight events. SimulationChart now implements a flyweight pattern containing the simulationId so it can be serialized allows the os to pause the application and restore most of the state of the graph. Currently the selected serieses are not persisted so the graph gets reset to the default. The simulation view is operated in two different modes. On tablets in landscape the graph appears in the right sidepane and the list on the left. When a new simulation is selected, the old graph is pushed to the back stack. When in portrait mode or on smaller sceens, the simluation graph is in a separate activity. git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@376 180e2498-e6e9-4542-8430-84ac67f01cd8 --- diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 9bc6a4c1..de2637f0 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -74,8 +74,7 @@ - - + diff --git a/android/res/layout-xlarge-land/openrocketviewer.xml b/android/res/layout-xlarge-land/openrocketviewer.xml new file mode 100644 index 00000000..5ecb9d73 --- /dev/null +++ b/android/res/layout-xlarge-land/openrocketviewer.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/android/res/layout/simulation_detail.xml b/android/res/layout/simulation_detail.xml deleted file mode 100644 index c612fda7..00000000 --- a/android/res/layout/simulation_detail.xml +++ /dev/null @@ -1,71 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - -