| <?xml version="1.0" encoding="utf-8"?> |
| |
| <!-- Copyright (C) 2012 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. |
| --> |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" |
| android:gravity="bottom" |
| android:orientation="vertical" > |
| |
| <LinearLayout |
| android:layout_width="fill_parent" |
| android:layout_height="0dp" |
| android:layout_weight="1" |
| android:gravity="bottom" |
| android:orientation="horizontal" > |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="fill_parent" |
| android:layout_weight="3" |
| android:gravity="center_vertical|center_horizontal" |
| android:orientation="vertical" > |
| |
| <SurfaceView |
| android:id="@+id/camera_view" |
| android:layout_width="fill_parent" |
| android:layout_height="fill_parent" |
| android:layout_weight="4" /> |
| |
| <TextView |
| android:id="@+id/preview_label" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:gravity="bottom" |
| android:padding="2dp" |
| android:text="@string/co_preview_label" |
| android:textSize="16sp" /> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="fill_parent" |
| android:layout_weight="3" |
| android:gravity="center_vertical|center_horizontal" |
| android:orientation="vertical" > |
| |
| <ImageView |
| android:id="@+id/format_view" |
| android:layout_height="fill_parent" |
| android:layout_width="fill_parent" |
| android:layout_weight="4" /> |
| |
| <TextView |
| android:id="@+id/format_label" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:gravity="bottom" |
| android:padding="2dp" |
| android:text="@string/co_format_label" |
| android:textSize="16sp" /> |
| |
| </LinearLayout> |
| |
| <LinearLayout |
| android:layout_width="0dp" |
| android:layout_height="fill_parent" |
| android:layout_weight="2" |
| android:gravity="bottom" |
| android:orientation="vertical" > |
| |
| <TextView |
| android:id="@+id/camera_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/co_camera_label" /> |
| |
| <TextView |
| android:id="@+id/orientation_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/co_orientation_label" /> |
| |
| <LinearLayout |
| android:layout_width="match_parent" |
| android:layout_height="match_parent" |
| android:gravity="bottom" |
| android:orientation="vertical" > |
| |
| <TextView |
| android:id="@+id/instruction_header" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/co_instruction_heading_label" /> |
| |
| <TextView |
| android:id="@+id/instruction_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:text="@string/co_instruction_text_photo_label" /> |
| |
| <TextView |
| android:id="@+id/instruction_extra_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" /> |
| |
| <Button |
| android:id="@+id/take_picture_button" |
| android:layout_width="match_parent" |
| android:layout_height="wrap_content" |
| android:enabled="false" |
| android:text="@string/co_photo_button_caption" /> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| </LinearLayout> |
| |
| <include layout="@layout/pass_fail_buttons" /> |
| |
| </LinearLayout> |