]> git.gag.com Git - debian/openrocket/blob - android/res/layout/simulation_detail.xml
Show the simulation name as the chart title. Made some UI concessions because drawin...
[debian/openrocket] / android / res / layout / simulation_detail.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3     android:layout_width="match_parent"
4     android:layout_height="match_parent"
5     android:orientation="vertical" >
6
7     <TabHost
8         android:id="@+id/simulationConfigurationForm"
9         android:layout_width="fill_parent"
10         android:layout_height="fill_parent"
11         android:background="@android:color/black" >
12
13         <LinearLayout
14             android:layout_width="fill_parent"
15             android:layout_height="fill_parent"
16             android:orientation="vertical" >
17
18             <TabWidget
19                 android:id="@android:id/tabs"
20                 android:layout_width="fill_parent"
21                 android:layout_height="wrap_content" />
22
23             <FrameLayout
24                 android:id="@android:id/tabcontent"
25                 android:layout_width="fill_parent"
26                 android:layout_height="fill_parent" >
27
28                 <ListView
29                     android:id="@+id/simulationEventsList"
30                     android:layout_width="fill_parent"
31                     android:layout_height="wrap_content" />
32
33                 <LinearLayout
34                     android:id="@+id/simulationSeriesSelection"
35                     android:layout_width="fill_parent"
36                     android:layout_height="wrap_content"
37                     android:orientation="vertical" >
38
39                     <TextView
40                         android:layout_width="fill_parent"
41                         android:layout_height="wrap_content"
42                         android:text="@string/simulationSeries1Label" />
43
44                     <Spinner
45                         android:id="@+id/simulationSeries1"
46                         android:layout_width="fill_parent"
47                         android:layout_height="wrap_content"
48                         android:drawSelectorOnTop="true" />
49
50                     <TextView
51                         android:layout_width="fill_parent"
52                         android:layout_height="wrap_content"
53                         android:text="@string/simulationSeries2Label" />
54
55                     <Spinner
56                         android:id="@+id/simulationSeries2"
57                         android:layout_width="fill_parent"
58                         android:layout_height="wrap_content"
59                         android:drawSelectorOnTop="true" />
60
61                     <Button
62                         android:layout_width="wrap_content"
63                         android:layout_height="wrap_content"
64                         android:onClick="draw"
65                         android:text="Draw" />
66                 </LinearLayout>
67             </FrameLayout>
68         </LinearLayout>
69     </TabHost>
70
71 </LinearLayout>