diff options
author | Angus Kong <shkong@google.com> | 2011-08-04 16:30:32 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-08-05 12:43:37 +0800 |
commit | a955261dd734524eb7d8e1af76c695122efc8aa7 (patch) | |
tree | 71bc8882e048cf01b0995aafbd69d96a9756f638 /res/layout/pano_capture.xml | |
parent | d1cff41cd8ae0fc6e9df1050730bb5e47bd364af (diff) | |
download | LegacyCamera-a955261dd734524eb7d8e1af76c695122efc8aa7.zip LegacyCamera-a955261dd734524eb7d8e1af76c695122efc8aa7.tar.gz LegacyCamera-a955261dd734524eb7d8e1af76c695122efc8aa7.tar.bz2 |
Stop button added on panorama UI.
1. Individual layout XML file added for preview, capture and review stages.
2. Stop button added for capture stage.
3. Layout changed to comply UI spec more.
bug:5031609
Change-Id: I152daafe8a1a9fcc12b3803f3f7a36875b425628
Diffstat (limited to 'res/layout/pano_capture.xml')
-rw-r--r-- | res/layout/pano_capture.xml | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml new file mode 100644 index 0000000..8b353fd --- /dev/null +++ b/res/layout/pano_capture.xml @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@+id/pano_capture_layout" + android:visibility="invisible" + android:orientation="vertical" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <com.android.camera.panorama.CaptureView android:id="@+id/pano_capture_view" + android:layout_width="match_parent" + android:layout_height="match_parent" /> + + <ImageView style="@style/PanoViewHorizontalGrayBar" + android:layout_alignParentTop="true" + android:layout_width="match_parent" /> + + <LinearLayout android:id="@+id/pano_capture_control" + style="@style/PanoViewHorizontalGrayBar" + android:gravity="right" + android:orientation="horizontal" + android:layout_alignParentBottom="true" + android:layout_width="match_parent"> + + <Button android:id="@+id/pano_capture_stop_button" + android:text="@string/pano_capture_stop" + android:textSize="24dp" + android:layout_width="180dp" + android:layout_height="180dp" /> + </LinearLayout> +</RelativeLayout> |