create changelog entry
[debian/openrocket] / android / res / layout / openrocketviewer.xml
index 25d7d9b42d8bc2615fd5e24767659da600a1934b..105284ef47d2e0a25d2a561900b0cc4ba8d2c40d 100644 (file)
     android:layout_height="match_parent"\r
     android:orientation="vertical" >\r
 \r
-    <TabHost\r
-        android:id="@+id/openrocketviewerTabHost"\r
+    <android.support.v4.view.ViewPager\r
+        android:id="@+id/pager"\r
         android:layout_width="match_parent"\r
-        android:layout_height="match_parent"\r
-        android:background="@android:color/black" >\r
+        android:layout_height="match_parent" >\r
 \r
-        <LinearLayout\r
+        <android.support.v4.view.PagerTitleStrip\r
             android:layout_width="match_parent"\r
             android:layout_height="match_parent"\r
-            android:orientation="vertical" >\r
-\r
-            <TabWidget\r
-                android:id="@android:id/tabs"\r
-                android:layout_width="match_parent"\r
-                android:layout_height="wrap_content" />\r
-\r
-            <FrameLayout\r
-                android:id="@android:id/tabcontent"\r
-                android:layout_width="match_parent"\r
-                android:layout_height="match_parent" >\r
-\r
-                <LinearLayout\r
-                    android:id="@+id/openrocketviewerOverview"\r
-                    android:layout_width="match_parent"\r
-                    android:layout_height="wrap_content"\r
-                    android:orientation="vertical" >\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Designer" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerDesigner"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Length" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerLength"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Empty Mass" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerMass"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Stage Count" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerStageCount"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <Spinner android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:id="@+id/openrocketviewerConfigurationSpinner" \r
-                        />\r
-                    \r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Lift off weight" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerLiftOffWeight"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="CG" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerCG"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="CP" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerCP"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    <TextView\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="match_parent"\r
-                        android:text="Stability margin" />\r
-\r
-                    <TextView\r
-                        android:id="@+id/openrocketviewerStabilityMargin"\r
-                        android:layout_width="match_parent"\r
-                        android:layout_height="wrap_content"\r
-                        android:text="" />\r
-\r
-                    </LinearLayout>\r
-\r
-                <pl.polidea.treeview.TreeViewList\r
-                    android:id="@+id/openrocketviewerComponentTree"\r
-                    android:layout_width="fill_parent"\r
-                    android:layout_height="fill_parent"\r
-                    android:scrollbars="vertical"\r
-                    android:smoothScrollbar="true" />\r
-\r
-                <ListView\r
-                    android:id="@+id/openrocketviewerSimulationList"\r
-                    android:layout_width="match_parent"\r
-                    android:layout_height="wrap_content" />\r
-            </FrameLayout>\r
-        </LinearLayout>\r
-    </TabHost>\r
+            android:layout_gravity="top"/>\r
+    </android.support.v4.view.ViewPager>\r
 \r
 </LinearLayout>
\ No newline at end of file