diff options
author | Angus Kong <shkong@google.com> | 2011-09-07 08:10:55 +0800 |
---|---|---|
committer | Angus Kong <shkong@google.com> | 2011-09-08 07:10:14 +0800 |
commit | 2f9ed6f52580b8fecb77ec3ca123a804eea89f8c (patch) | |
tree | 5a7dd7a9a482114af3eee39c91937d6212f21247 /res/values | |
parent | 2670b3d7c318604f07b680b22360d349103144be (diff) | |
download | packages_apps_LegacyCamera-2f9ed6f52580b8fecb77ec3ca123a804eea89f8c.zip packages_apps_LegacyCamera-2f9ed6f52580b8fecb77ec3ca123a804eea89f8c.tar.gz packages_apps_LegacyCamera-2f9ed6f52580b8fecb77ec3ca123a804eea89f8c.tar.bz2 |
A customized dialog for preparing low-res review.
According to UI spec, a customized dialog is needed. The customized dialog has a rounded rectangle
as a background and a spinner over a text view.
bug:5244268
Change-Id: I21a5709babbaf92e507c8900a8cfb322e29bae4c
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/colors.xml | 1 | ||||
-rw-r--r-- | res/values/dimens.xml | 7 | ||||
-rw-r--r-- | res/values/strings.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 3 |
4 files changed, 10 insertions, 3 deletions
diff --git a/res/values/colors.xml b/res/values/colors.xml index a0bbf7f..7d5081f 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -28,4 +28,5 @@ <color name="share_popup_background">#B0000000</color> <color name="share_icon_background">#40000000</color> <color name="indicator_background">#40000000</color> + <color name="pano_custom_dialog_background">#FF666666</color> </resources> diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 63bb9b3..b1e3db4 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -26,13 +26,16 @@ <dimen name="pano_control_start_button_size">70dp</dimen> <dimen name="pano_mosaic_surface_width">640dp</dimen> <dimen name="pano_mosaic_surface_height">240dp</dimen> - <dimen name="pano_capture_stop_button_width">70dp</dimen> - <dimen name="pano_capture_stop_button_height">70dp</dimen> <dimen name="pano_review_button_width">70dp</dimen> <dimen name="pano_review_button_height">70dp</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> + <dimen name="pano_custom_dialog_corner_radius">15dp</dimen> + <dimen name="pano_custom_dialog_width">320dp</dimen> + <dimen name="pano_custom_dialog_height">120dp</dimen> + <dimen name="pano_custom_dialog_textview_top_padding">15dp</dimen> + <dimen name="pano_custom_dialog_spinner_height">40dp</dimen> <dimen name="setting_row_height">42dp</dimen> <dimen name="setting_item_text_size">16dp</dimen> <dimen name="setting_knob_width">36dp</dimen> diff --git a/res/values/strings.xml b/res/values/strings.xml index d1ec27a..8cf4662 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -272,7 +272,7 @@ <string name="pano_too_fast_prompt">Too Fast</string> <!-- The text shown in the progress dialog when panorama preview is generating in the background [CHAR LIMIT=30] --> - <string name="pano_dialog_prepare_preview">Preparing preview...</string> + <string name="pano_dialog_prepare_preview">Preparing panorama</string> <!-- The text shown in the progress dialog when generating the final panorama result in the background [CHAR LIMIT=30] --> <string name="pano_dialog_generate_panorama">Generating panorama...</string> diff --git a/res/values/styles.xml b/res/values/styles.xml index eb7d30f..9e2046b 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -155,6 +155,9 @@ <item name="android:layout_height">0dp</item> <item name="android:layout_weight">0.5</item> </style> + <style name="PanoCustomDialogText"> + <item name="android:textAppearance">@android:style/TextAppearance.Medium</item> + </style> <style name="ReviewThumbnail"> <item name="android:layout_width">52dp</item> <item name="android:layout_height">52dp</item> |