Logo
Explore Help
Sign In
hongshaorou/openrocket
1
0
Fork 0
You've already forked openrocket
Code Issues Pull Requests Packages Projects Releases Wiki Activity
openrocket/android/res/layout/simulation_graph_activity.xml

13 lines
519 B
XML
Raw Normal View History

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.
2012-01-26 15:36:15 +00:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical" >
<TextView android:layout_width="wrap_content" android:layout_height="wrap_content"/>
<LinearLayout
android:layout_width="match_parent"
android:id="@+id/sidepane"
android:layout_height="match_parent"
android:orientation="vertical" />
</LinearLayout>
Reference in New Issue Copy Permalink
Powered by Gitea Version: 23.8.0 Page: 65ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API