diff options
Diffstat (limited to 'res/layout-sw485dp/preview_frame.xml')
-rw-r--r-- | res/layout-sw485dp/preview_frame.xml | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/res/layout-sw485dp/preview_frame.xml b/res/layout-sw485dp/preview_frame.xml new file mode 100644 index 0000000..b054299 --- /dev/null +++ b/res/layout-sw485dp/preview_frame.xml @@ -0,0 +1,58 @@ +<?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. +--> +<com.android.camera.PreviewFrameLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/frame_layout" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_toLeftOf="@id/control_panel" + android:layout_marginLeft="5dp" + android:layout_marginTop="5dp"> + <RelativeLayout android:id="@+id/frame" + android:layout_width="match_parent" + android:layout_height="match_parent"> + <SurfaceView android:id="@+id/camera_preview" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <ImageView android:id="@+id/preview_border" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@drawable/border_preview_holo"/> + <com.android.camera.ui.FocusRectangle + android:id="@+id/focus_rectangle" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <TextView android:id="@+id/zoom_ratio" + style="@style/OnViewfinderLabel" + android:layout_alignParentRight="true" + android:layout_below="@+id/review_control"/> + <ImageView style="@style/OnScreenGpsIndicator" + android:id="@+id/onscreen_gps_indicator_no_signal" + android:src="@drawable/ic_viewfinder_gps_no_signal" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:layout_margin="15dp" + android:visibility="invisible"/> + <ImageView style="@style/OnScreenGpsIndicator" + android:id="@+id/onscreen_gps_indicator_on" + android:src="@drawable/ic_viewfinder_gps_on" + android:layout_alignParentRight="true" + android:layout_alignParentBottom="true" + android:layout_margin="15dp" + android:visibility="invisible"/> + <include layout="@layout/review_thumbnail"/> + <include layout="@layout/review_control"/> + </RelativeLayout> +</com.android.camera.PreviewFrameLayout> |