summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorAngus Kong <shkong@google.com>2011-09-14 14:39:30 +0800
committerAngus Kong <shkong@google.com>2011-09-14 14:45:51 +0800
commitd71cbea405269be2259710f6afbde20aeea51662 (patch)
treef7edd6058d78b0289de03c11963f8c5f85f296b8 /res
parent6e943908bc0608a168f7590078d2f6f371f09610 (diff)
downloadLegacyCamera-d71cbea405269be2259710f6afbde20aeea51662.zip
LegacyCamera-d71cbea405269be2259710f6afbde20aeea51662.tar.gz
LegacyCamera-d71cbea405269be2259710f6afbde20aeea51662.tar.bz2
Show "Saving..." when saving final panorama.
bug:5244268 Change-Id: Iff6a8edcfcf53c40f8eb2939fb4429c8a160de6c
Diffstat (limited to 'res')
-rw-r--r--res/layout/pano_review.xml9
-rw-r--r--res/values-w1024dp/dimens.xml1
-rw-r--r--res/values/dimens.xml1
-rw-r--r--res/values/strings.xml3
4 files changed, 14 insertions, 0 deletions
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index 9e0b750..104022a 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -43,6 +43,15 @@
android:layout_height="@dimen/pano_mosaic_surface_height" />
<RelativeLayout style="@style/PanoViewHorizontalBar">
+ <TextView android:id="@+id/pano_review_saving_indication"
+ android:text="@string/pano_review_saving_indication_str"
+ android:textSize="@dimen/pano_review_saving_indication_size"
+ android:layout_alignParentLeft="true"
+ android:layout_centerVertical="true"
+ android:layout_marginLeft="20dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content" />
+
<com.android.camera.panorama.PanoProgressBar
android:id="@+id/pano_saving_progress_bar"
android:src="@drawable/ic_pan_progression"
diff --git a/res/values-w1024dp/dimens.xml b/res/values-w1024dp/dimens.xml
index d175809..dbb4dbb 100644
--- a/res/values-w1024dp/dimens.xml
+++ b/res/values-w1024dp/dimens.xml
@@ -31,6 +31,7 @@
<dimen name="pano_mosaic_surface_height">480dp</dimen>
<dimen name="pano_review_button_width">180dp</dimen>
<dimen name="pano_review_button_height">120dp</dimen>
+ <dimen name="pano_review_saving_indication_size">18sp</dimen>
<dimen name="pano_capture_too_fast_text_height">160dp</dimen>
<dimen name="pano_indication_width">300dp</dimen>
<dimen name="pano_indication_height">150dp</dimen>
diff --git a/res/values/dimens.xml b/res/values/dimens.xml
index 91920ae..5aed274 100644
--- a/res/values/dimens.xml
+++ b/res/values/dimens.xml
@@ -27,6 +27,7 @@
<dimen name="pano_mosaic_surface_height">240dp</dimen>
<dimen name="pano_review_button_width">70dp</dimen>
<dimen name="pano_review_button_height">45dp</dimen>
+ <dimen name="pano_review_saving_indication_size">12sp</dimen>
<dimen name="pano_capture_too_fast_text_height">70dp</dimen>
<dimen name="pano_indication_width">150dp</dimen>
<dimen name="pano_indication_height">75dp</dimen>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index c679013..3b2e2a1 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -280,6 +280,9 @@
<!-- The text shown on the top-left corner of the screen to indicate the capturing is on going [CHAR LIMIT=27] -->
<string name="pano_capture_indication">Capturing Panorama</string>
+ <!-- The text shown on the bottom-left corner of the screen to indicate that the saving is in process [CHAR LIMIT=13] -->
+ <string name="pano_review_saving_indication_str">Saving...</string>
+
<!-- Toast telling users tapping on the viewfinder will trigger autofocus [CHAR LIMIT=28] -->
<string name="tap_to_focus">Tap to focus</string>