Added length and mass preferences and wired into the application object initialization of the OpenRocket UnitGroup statics. There is currently an issue in the Simulation list in that the motors are not being displayed. This is because currently the motor dao is not wired into the application.
119 lines
5.2 KiB
XML
119 lines
5.2 KiB
XML
<?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" >
|
|
|
|
<TabHost
|
|
android:id="@+id/openrocketviewerTabHost"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@android:color/black" >
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical" >
|
|
|
|
<TabWidget
|
|
android:id="@android:id/tabs"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<FrameLayout
|
|
android:id="@android:id/tabcontent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" >
|
|
|
|
<LinearLayout
|
|
android:id="@+id/openrocketviewerOverview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:orientation="vertical" >
|
|
|
|
<TextView
|
|
android:text='Rocket Name'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerRocketName"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='Designer'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerDesigner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='CG'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerCG"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='Length'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerLength"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='Mass'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerMass"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='Stage Count'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerStageCount"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
<TextView
|
|
android:text='Comment'
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
/>
|
|
<TextView
|
|
android:id="@+id/openrocketviewerComment"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:text="" />
|
|
</LinearLayout>
|
|
|
|
<ListView
|
|
android:id="@+id/openrocketviewerComponentList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<ListView
|
|
android:id="@+id/openrocketviewerSimulationList"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
</FrameLayout>
|
|
</LinearLayout>
|
|
</TabHost>
|
|
|
|
</LinearLayout> |