videochatcameratest_activity.xml revision 430aa048a20aa42f089d213d8b4b6c67ab1b43fe
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 The Android Open Source Project
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7  
8          http://www.apache.org/licenses/LICENSE-2.0
9  
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16
17<!-- The top view is a layout manager that places its child views into
18     a row, here set to be vertical (so the first is at the top) -->
19
20<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
21    android:layout_width="match_parent" android:layout_height="match_parent"
22    android:orientation="vertical">
23
24    <FrameLayout android:id="@+id/previewFrame"
25        android:layout_width="320px" android:layout_height="240px"
26        android:orientation="horizontal" />
27
28    <ScrollView android:id="@+id/scrollviewforhistory"
29        android:layout_width="fill_parent"
30        android:layout_height="wrap_content"
31        android:orientation="vertical"
32        >
33        <LinearLayout
34            android:layout_width="wrap_content" android:layout_height="wrap_content"
35            android:orientation="vertical">
36            <LinearLayout
37                android:layout_width="wrap_content" android:layout_height="wrap_content"
38                android:orientation="vertical">
39                <LinearLayout
40                    android:layout_width="wrap_content" android:layout_height="wrap_content"
41                    android:orientation="horizontal">
42
43                    <CheckBox android:id="@+id/frontcameracheckbox"
44                        android:layout_width="wrap_content"
45                        android:layout_height="wrap_content"
46                        android:text="@string/front"
47                        android:checked="true" />
48
49                    <CheckBox android:id="@+id/backcameracheckbox"
50                        android:layout_width="wrap_content"
51                        android:layout_height="wrap_content"
52                        android:text="@string/back"
53                        android:checked="true" />
54
55                </LinearLayout>
56
57                <LinearLayout
58                    android:layout_width="wrap_content" android:layout_height="wrap_content"
59                    android:orientation="horizontal">
60
61                    <CheckBox android:id="@+id/qvgacheckbox"
62                        android:layout_width="wrap_content"
63                        android:layout_height="wrap_content"
64                        android:text="@string/qvga"
65                        android:checked="true" />
66
67                    <CheckBox android:id="@+id/vgacheckbox"
68                        android:layout_width="wrap_content"
69                        android:layout_height="wrap_content"
70                        android:text="@string/vga"
71                        android:checked="false" />
72
73                </LinearLayout>
74
75                <LinearLayout
76                    android:layout_width="wrap_content" android:layout_height="wrap_content"
77                    android:orientation="horizontal">
78
79                    <CheckBox android:id="@+id/fps15checkbox"
80                        android:layout_width="wrap_content"
81                        android:layout_height="wrap_content"
82                        android:text="@string/fps15"
83                        android:checked="true" />
84
85                    <CheckBox android:id="@+id/fps30checkbox"
86                        android:layout_width="wrap_content"
87                        android:layout_height="wrap_content"
88                        android:text="@string/fps30"
89                        android:checked="false" />
90
91                </LinearLayout>
92            </LinearLayout>
93            <TextView android:id="@+id/status"
94                android:layout_width="wrap_content"
95                android:layout_height="wrap_content"
96                android:text="@string/rotation" />
97
98            <LinearLayout
99                android:layout_width="wrap_content" android:layout_height="wrap_content"
100                android:orientation="horizontal">
101                <CheckBox android:id="@+id/rotate0checkbox"
102                    android:layout_width="wrap_content"
103                    android:layout_height="wrap_content"
104                    android:text="@string/rotate0"
105                    android:checked="false" />
106                <CheckBox android:id="@+id/rotate90checkbox"
107                    android:layout_width="wrap_content"
108                    android:layout_height="wrap_content"
109                    android:text="@string/rotate90"
110                    android:checked="false" />
111                <CheckBox android:id="@+id/rotate180checkbox"
112                    android:layout_width="wrap_content"
113                    android:layout_height="wrap_content"
114                    android:text="@string/rotate180"
115                    android:checked="false" />
116                <CheckBox android:id="@+id/rotate270checkbox"
117                    android:layout_width="wrap_content"
118                    android:layout_height="wrap_content"
119                    android:text="@string/rotate270"
120                    android:checked="false" />
121                <CheckBox android:id="@+id/rotateautocheckbox"
122                    android:layout_width="wrap_content"
123                    android:layout_height="wrap_content"
124                    android:text="@string/rotateauto"
125                    android:checked="true" />
126            </LinearLayout>
127
128            <CheckBox android:id="@+id/repeatcheckbox"
129                android:layout_width="wrap_content"
130                android:layout_height="wrap_content"
131                android:text="@string/forever"
132                android:checked="false" />
133
134            <TextView android:id="@+id/status"
135                android:layout_width="wrap_content"
136                android:layout_height="wrap_content"
137                android:text="@string/status" />
138
139            <Button android:id="@+id/gobutton"
140                android:layout_width="wrap_content"
141                android:layout_height="wrap_content"
142                android:text="@string/go" />
143
144            <TextView android:id="@+id/statushistory"
145                android:layout_width="wrap_content"
146                android:layout_height="wrap_content"
147                />
148
149        </LinearLayout>
150    </ScrollView>
151            
152
153</LinearLayout>
154
155
156