diff options
Diffstat (limited to 'res/layout-sw485dp/preview_frame_video.xml')
-rw-r--r-- | res/layout-sw485dp/preview_frame_video.xml | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/res/layout-sw485dp/preview_frame_video.xml b/res/layout-sw485dp/preview_frame_video.xml new file mode 100644 index 0000000..dd003af --- /dev/null +++ b/res/layout-sw485dp/preview_frame_video.xml @@ -0,0 +1,68 @@ +<?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"/> + <ImageView android:id="@+id/video_frame" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:visibility="gone" /> + <include layout="@layout/review_thumbnail"/> + <TextView android:id="@+id/recording_time" + style="@style/OnViewfinderLabel" + android:layout_alignParentTop="true" + android:layout_alignParentRight="true" + android:gravity="center" + android:drawableLeft="@drawable/ic_recording_indicator_small" + android:drawablePadding="5dp" + android:visibility="gone"/> + <include layout="@layout/review_control"/> + <TextView android:id="@+id/time_lapse_label" + android:text="@string/time_lapse_title" + style="@style/OnViewfinderLabel" + android:layout_toLeftOf="@id/recording_time" + android:layout_below="@id/review_control" + android:layout_alignWithParentIfMissing="true" + android:visibility="gone"/> + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_centerInParent="true" + android:background="@drawable/bg_text_on_preview" + android:visibility="gone"> + <ImageView style="@style/ReviewControlIcon" + android:id="@+id/btn_play" + android:paddingTop="10dp" + android:paddingBottom="10dp" + android:src="@drawable/btn_ic_review_play"/> + </LinearLayout> + </RelativeLayout> +</com.android.camera.PreviewFrameLayout> |