From 8df38bbe67338a1f5dc58996bd8866f4c1fe264d Mon Sep 17 00:00:00 2001 From: Angus Kong Date: Tue, 13 Sep 2011 11:26:13 +0800 Subject: Show capture indication for panorama. bug:5298354 Change-Id: I430d833dff9b7bcab6353889522da6e55e58d4e4 --- res/drawable-hdpi/ic_pan_recording_indicator.png | Bin 0 -> 628 bytes res/drawable-mdpi/ic_pan_recording_indicator.png | Bin 0 -> 492 bytes res/drawable-xhdpi/ic_pan_recording_indicator.png | Bin 0 -> 725 bytes res/layout/pano_capture.xml | 19 +++++++++++++++++-- res/layout/pano_review.xml | 4 ++-- res/values/strings.xml | 3 +++ res/values/styles.xml | 2 +- .../android/camera/panorama/PanoramaActivity.java | 5 +++++ 8 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 res/drawable-hdpi/ic_pan_recording_indicator.png create mode 100644 res/drawable-mdpi/ic_pan_recording_indicator.png create mode 100644 res/drawable-xhdpi/ic_pan_recording_indicator.png diff --git a/res/drawable-hdpi/ic_pan_recording_indicator.png b/res/drawable-hdpi/ic_pan_recording_indicator.png new file mode 100644 index 0000000..011d1e2 Binary files /dev/null and b/res/drawable-hdpi/ic_pan_recording_indicator.png differ diff --git a/res/drawable-mdpi/ic_pan_recording_indicator.png b/res/drawable-mdpi/ic_pan_recording_indicator.png new file mode 100644 index 0000000..1fc9578 Binary files /dev/null and b/res/drawable-mdpi/ic_pan_recording_indicator.png differ diff --git a/res/drawable-xhdpi/ic_pan_recording_indicator.png b/res/drawable-xhdpi/ic_pan_recording_indicator.png new file mode 100644 index 0000000..17fc574 Binary files /dev/null and b/res/drawable-xhdpi/ic_pan_recording_indicator.png differ diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml index 00af551..5988196 100644 --- a/res/layout/pano_capture.xml +++ b/res/layout/pano_capture.xml @@ -30,7 +30,22 @@ android:layout_height="match_parent" android:orientation="vertical"> - + + + + + style="@style/PanoViewHorizontalBar"> - + Panorama + + Capturing Panorama + Tap to focus diff --git a/res/values/styles.xml b/res/values/styles.xml index 78e7ba6..bd46fc3 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -148,7 +148,7 @@ 16dp @drawable/bg_text_on_preview -