summaryrefslogtreecommitdiffstats
path: root/res/layout/pano_capture.xml
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-09-14 02:36:21 +0800
committerAngus Kong <shkong@google.com>2011-09-14 06:25:57 +0800
commit6108e0ed3a6b03deed2a8586d98607a6756637b1 (patch)
tree4e4a898819f4b5e98f836dffbc9a4732aef0fb1b /res/layout/pano_capture.xml
parent65e43e98f03cd260ce316df6ce22885abc8cc3b1 (diff)
downloadpackages_apps_LegacyCamera-6108e0ed3a6b03deed2a8586d98607a6756637b1.zip
packages_apps_LegacyCamera-6108e0ed3a6b03deed2a8586d98607a6756637b1.tar.gz
packages_apps_LegacyCamera-6108e0ed3a6b03deed2a8586d98607a6756637b1.tar.bz2
Direction indicator before panorama panning added.
bug:5141666 Change-Id: I2ede83f9a5d31544db6d8ea2a269f50da4a3bb7a
Diffstat (limited to 'res/layout/pano_capture.xml')
-rw-r--r--res/layout/pano_capture.xml27
1 files changed, 24 insertions, 3 deletions
diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml
index 5988196..fc949b7 100644
--- a/res/layout/pano_capture.xml
+++ b/res/layout/pano_capture.xml
@@ -30,6 +30,7 @@
android:layout_height="match_parent"
android:orientation="vertical">
+ <!-- The top bar with capture indication -->
<FrameLayout android:id="@+id/pano_capture_indicator_layout"
style="@style/PanoViewHorizontalBar">
@@ -53,16 +54,36 @@
android:layout_width="match_parent"
android:layout_height="@dimen/pano_mosaic_surface_height" />
- <FrameLayout
+ <!-- The bottom bar with progress bar and direction indicators -->
+ <RelativeLayout
style="@style/PanoViewHorizontalBar">
<com.android.camera.panorama.PanoProgressBar
android:id="@+id/pano_pan_progress_bar"
android:visibility="gone"
android:src="@drawable/ic_pan_progression"
- android:layout_gravity="center"
+ android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
- </FrameLayout>
+ <ImageView
+ android:id="@+id/pano_pan_left_indicator"
+ android:src="@drawable/ic_pan_left_indicator"
+ android:visibility="gone"
+ android:layout_marginRight="5dp"
+ android:layout_toLeftOf="@id/pano_pan_progress_bar"
+ android:layout_centerVertical="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
+ <ImageView
+ android:id="@+id/pano_pan_right_indicator"
+ android:src="@drawable/ic_pan_right_indicator"
+ android:visibility="gone"
+ android:layout_marginLeft="5dp"
+ android:layout_toRightOf="@id/pano_pan_progress_bar"
+ android:layout_centerVertical="true"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+ </RelativeLayout>
</LinearLayout>