diff options
author | Jack Yoo <jyoo@codeaurora.org> | 2016-02-10 17:22:09 -0800 |
---|---|---|
committer | Jay Wang <jaywang@codeaurora.org> | 2016-09-27 15:54:51 -0700 |
commit | 7dd609bbc372c2bbeb9e3c10fe567e085da4f15d (patch) | |
tree | c947d9f35a0bfded03cea094ab81f222afde7258 /res/layout/pano_capture_module.xml | |
parent | 13f5f043eca7b0b6487f2809a06a010c268648b6 (diff) | |
download | android_packages_apps_Snap-7dd609bbc372c2bbeb9e3c10fe567e085da4f15d.tar.gz android_packages_apps_Snap-7dd609bbc372c2bbeb9e3c10fe567e085da4f15d.tar.bz2 android_packages_apps_Snap-7dd609bbc372c2bbeb9e3c10fe567e085da4f15d.zip |
SnapdragonCamera: Panorama Module
Introducing Panorama capture module for Camera2
Change-Id: I98306c6c88c34c58b99adf9d472418392015f6c5
CRs-Fixed: 1067848
Diffstat (limited to 'res/layout/pano_capture_module.xml')
-rw-r--r-- | res/layout/pano_capture_module.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/res/layout/pano_capture_module.xml b/res/layout/pano_capture_module.xml new file mode 100644 index 000000000..e382570ef --- /dev/null +++ b/res/layout/pano_capture_module.xml @@ -0,0 +1,41 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (c) 2016, The Linux Foundation. All rights reserved. + Not a Contribution. + + Copyright (C) 2013 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. +--> +<merge xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center"> + <FrameLayout + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center_vertical|center_horizontal"> + <com.android.camera.ui.AutoFitSurfaceView + android:id="@+id/mdp_preview_content" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center"/> + </FrameLayout> + <com.android.camera.ui.PanoCaptureProcessView + android:id="@+id/preview_process_view" + android:layout_width="match_parent" + android:layout_height="match_parent"/> + <include + style="@style/CameraControls" + layout="@layout/camera_controls" + android:layout_gravity="center" /> +</merge> |