Wired up computation of CP, CG, liftoff weight and stability to the configuration...
[debian/openrocket] / android / res / layout / openrocketviewer.xml
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"\r
3     android:layout_width="match_parent"\r
4     android:layout_height="match_parent"\r
5     android:orientation="vertical" >\r
6 \r
7     <TabHost\r
8         android:id="@+id/openrocketviewerTabHost"\r
9         android:layout_width="match_parent"\r
10         android:layout_height="match_parent"\r
11         android:background="@android:color/black" >\r
12 \r
13         <LinearLayout\r
14             android:layout_width="match_parent"\r
15             android:layout_height="match_parent"\r
16             android:orientation="vertical" >\r
17 \r
18             <TabWidget\r
19                 android:id="@android:id/tabs"\r
20                 android:layout_width="match_parent"\r
21                 android:layout_height="wrap_content" />\r
22 \r
23             <FrameLayout\r
24                 android:id="@android:id/tabcontent"\r
25                 android:layout_width="match_parent"\r
26                 android:layout_height="match_parent" >\r
27 \r
28                 <LinearLayout\r
29                     android:id="@+id/openrocketviewerOverview"\r
30                     android:layout_width="match_parent"\r
31                     android:layout_height="wrap_content"\r
32                     android:orientation="vertical" >\r
33 \r
34                     <TextView\r
35                         android:layout_width="match_parent"\r
36                         android:layout_height="match_parent"\r
37                         android:text="Designer" />\r
38 \r
39                     <TextView\r
40                         android:id="@+id/openrocketviewerDesigner"\r
41                         android:layout_width="match_parent"\r
42                         android:layout_height="wrap_content"\r
43                         android:text="" />\r
44 \r
45                     <TextView\r
46                         android:layout_width="match_parent"\r
47                         android:layout_height="match_parent"\r
48                         android:text="Length" />\r
49 \r
50                     <TextView\r
51                         android:id="@+id/openrocketviewerLength"\r
52                         android:layout_width="match_parent"\r
53                         android:layout_height="wrap_content"\r
54                         android:text="" />\r
55 \r
56                     <TextView\r
57                         android:layout_width="match_parent"\r
58                         android:layout_height="match_parent"\r
59                         android:text="Empty Mass" />\r
60 \r
61                     <TextView\r
62                         android:id="@+id/openrocketviewerMass"\r
63                         android:layout_width="match_parent"\r
64                         android:layout_height="wrap_content"\r
65                         android:text="" />\r
66 \r
67                     <TextView\r
68                         android:layout_width="match_parent"\r
69                         android:layout_height="match_parent"\r
70                         android:text="Stage Count" />\r
71 \r
72                     <TextView\r
73                         android:id="@+id/openrocketviewerStageCount"\r
74                         android:layout_width="match_parent"\r
75                         android:layout_height="wrap_content"\r
76                         android:text="" />\r
77 \r
78                     <Spinner android:layout_width="match_parent"\r
79                         android:layout_height="match_parent"\r
80                         android:id="@+id/openrocketviewerConfigurationSpinner" \r
81                         />\r
82                     \r
83                     <TextView\r
84                         android:layout_width="match_parent"\r
85                         android:layout_height="match_parent"\r
86                         android:text="Lift off weight" />\r
87 \r
88                     <TextView\r
89                         android:id="@+id/openrocketviewerLiftOffWeight"\r
90                         android:layout_width="match_parent"\r
91                         android:layout_height="wrap_content"\r
92                         android:text="" />\r
93 \r
94                     <TextView\r
95                         android:layout_width="match_parent"\r
96                         android:layout_height="match_parent"\r
97                         android:text="CG" />\r
98 \r
99                     <TextView\r
100                         android:id="@+id/openrocketviewerCG"\r
101                         android:layout_width="match_parent"\r
102                         android:layout_height="wrap_content"\r
103                         android:text="" />\r
104 \r
105                     <TextView\r
106                         android:layout_width="match_parent"\r
107                         android:layout_height="match_parent"\r
108                         android:text="CP" />\r
109 \r
110                     <TextView\r
111                         android:id="@+id/openrocketviewerCP"\r
112                         android:layout_width="match_parent"\r
113                         android:layout_height="wrap_content"\r
114                         android:text="" />\r
115 \r
116                     <TextView\r
117                         android:layout_width="match_parent"\r
118                         android:layout_height="match_parent"\r
119                         android:text="Stability margin" />\r
120 \r
121                     <TextView\r
122                         android:id="@+id/openrocketviewerStabilityMargin"\r
123                         android:layout_width="match_parent"\r
124                         android:layout_height="wrap_content"\r
125                         android:text="" />\r
126 \r
127                     </LinearLayout>\r
128 \r
129                 <pl.polidea.treeview.TreeViewList\r
130                     android:id="@+id/openrocketviewerComponentTree"\r
131                     android:layout_width="fill_parent"\r
132                     android:layout_height="fill_parent"\r
133                     android:scrollbars="vertical"\r
134                     android:smoothScrollbar="true" />\r
135 \r
136                 <ListView\r
137                     android:id="@+id/openrocketviewerSimulationList"\r
138                     android:layout_width="match_parent"\r
139                     android:layout_height="wrap_content" />\r
140             </FrameLayout>\r
141         </LinearLayout>\r
142     </TabHost>\r
143 \r
144 </LinearLayout>