| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2010 The Android Open Source Project |
| |
| Licensed under the Apache License, Version 2.0 (the "License"); |
| you may not use this file except in compliance with the License. |
| You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- The top view is a layout manager that places its child views into |
| a row, here set to be vertical (so the first is at the top) --> |
| |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="match_parent" android:layout_height="match_parent" |
| android:orientation="vertical"> |
| |
| <FrameLayout android:id="@+id/previewFrame" |
| android:layout_width="320px" android:layout_height="240px" |
| android:orientation="horizontal" /> |
| |
| <ScrollView android:id="@+id/scrollviewforhistory" |
| android:layout_width="fill_parent" |
| android:layout_height="wrap_content" |
| android:orientation="vertical" |
| > |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="vertical"> |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox android:id="@+id/frontcameracheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/front" |
| android:checked="true" /> |
| |
| <CheckBox android:id="@+id/backcameracheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/back" |
| android:checked="true" /> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox android:id="@+id/qvgacheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/qvga" |
| android:checked="false" /> |
| |
| <CheckBox android:id="@+id/vgacheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/vga" |
| android:checked="true" /> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| |
| <CheckBox android:id="@+id/fps15checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/fps15" |
| android:checked="true" /> |
| |
| <CheckBox android:id="@+id/fps30checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/fps30" |
| android:checked="false" /> |
| |
| </LinearLayout> |
| </LinearLayout> |
| <TextView android:id="@+id/status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotation" /> |
| |
| <LinearLayout |
| android:layout_width="wrap_content" android:layout_height="wrap_content" |
| android:orientation="horizontal"> |
| <CheckBox android:id="@+id/rotate0checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotate0" |
| android:checked="false" /> |
| <CheckBox android:id="@+id/rotate90checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotate90" |
| android:checked="false" /> |
| <CheckBox android:id="@+id/rotate180checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotate180" |
| android:checked="false" /> |
| <CheckBox android:id="@+id/rotate270checkbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotate270" |
| android:checked="false" /> |
| <CheckBox android:id="@+id/rotateautocheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/rotateauto" |
| android:checked="true" /> |
| </LinearLayout> |
| |
| <CheckBox android:id="@+id/repeatcheckbox" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/forever" |
| android:checked="false" /> |
| |
| <TextView android:id="@+id/status" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/status" /> |
| |
| <Button android:id="@+id/gobutton" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/go" /> |
| |
| <TextView android:id="@+id/statushistory" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| /> |
| |
| </LinearLayout> |
| </ScrollView> |
| |
| |
| </LinearLayout> |
| |
| |