summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/anim-sw600dp/setting_popup_grow_fade_in.xml (renamed from res/anim/grow_fade_in_from_right.xml)0
-rw-r--r--res/anim-sw600dp/setting_popup_shrink_fade_out.xml (renamed from res/anim/shrink_fade_out_from_right.xml)0
-rw-r--r--res/anim/setting_popup_grow_fade_in.xml30
-rw-r--r--res/anim/setting_popup_shrink_fade_out.xml30
-rw-r--r--res/drawable-hdpi/ic_indicators_cloudy.pngbin0 -> 815 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_fluorescent.pngbin0 -> 872 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_incandescent.pngbin0 -> 848 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_landscape.pngbin0 -> 1086 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 1272 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_landscape_flash_off.pngbin0 -> 1289 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_landscape_flash_on.pngbin0 -> 949 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_macro.pngbin0 -> 1581 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_scn.pngbin0 -> 1269 bytes
-rw-r--r--res/drawable-hdpi/ic_indicators_sunlight.pngbin0 -> 903 bytes
-rw-r--r--res/drawable-hdpi/toast_frame_holo.9.pngbin0 -> 1585 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_cloudy.pngbin0 -> 615 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_fluorescent.pngbin0 -> 584 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_incandescent.pngbin0 -> 554 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_landscape.pngbin0 -> 800 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 861 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_landscape_flash_off.pngbin0 -> 863 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_landscape_flash_on.pngbin0 -> 719 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_macro.pngbin0 -> 997 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_scn.pngbin0 -> 817 bytes
-rw-r--r--res/drawable-mdpi/ic_indicators_sunlight.pngbin0 -> 559 bytes
-rw-r--r--res/drawable-mdpi/toast_frame_holo.9.pngbin0 -> 1585 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_cloudy.pngbin0 -> 1091 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_fluorescent.pngbin0 -> 1674 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_incandescent.pngbin0 -> 1629 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_landscape.pngbin0 -> 1614 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 2121 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_off.pngbin0 -> 1998 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_on.pngbin0 -> 1443 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_macro.pngbin0 -> 2683 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_scn.pngbin0 -> 2347 bytes
-rw-r--r--res/drawable-sw600dp-hdpi/ic_indicators_sunlight.pngbin0 -> 1815 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_cloudy.pngbin0 -> 777 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_fluorescent.pngbin0 -> 1084 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_incandescent.pngbin0 -> 1066 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_landscape.pngbin0 -> 1137 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 1301 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_off.pngbin0 -> 1371 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_on.pngbin0 -> 975 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_macro.pngbin0 -> 1593 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_scn.pngbin0 -> 1423 bytes
-rw-r--r--res/drawable-sw600dp-mdpi/ic_indicators_sunlight.pngbin0 -> 1116 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_cloudy.pngbin0 -> 1405 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_fluorescent.pngbin0 -> 2265 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_incandescent.pngbin0 -> 2216 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_landscape.pngbin0 -> 2250 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 2889 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_off.pngbin0 -> 2740 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_on.pngbin0 -> 1899 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_macro.pngbin0 -> 3807 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_scn.pngbin0 -> 3384 bytes
-rw-r--r--res/drawable-sw600dp-xhdpi/ic_indicators_sunlight.pngbin0 -> 2457 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_cloudy.pngbin0 -> 1042 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_fluorescent.pngbin0 -> 1193 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_incandescent.pngbin0 -> 1204 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_landscape.pngbin0 -> 1506 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_landscape_flash_auto.pngbin0 -> 1749 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_landscape_flash_off.pngbin0 -> 1813 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_landscape_flash_on.pngbin0 -> 1289 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_macro.pngbin0 -> 2267 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_scn.pngbin0 -> 1778 bytes
-rw-r--r--res/drawable-xhdpi/ic_indicators_sunlight.pngbin0 -> 1312 bytes
-rw-r--r--res/drawable-xhdpi/toast_frame_holo.9.pngbin0 -> 1585 bytes
-rw-r--r--res/layout-sw600dp/camera_control.xml10
-rw-r--r--res/layout-sw600dp/pano_capture.xml3
-rw-r--r--res/layout-sw600dp/preview_frame.xml1
-rw-r--r--res/layout-sw600dp/preview_frame_video.xml1
-rw-r--r--res/layout-sw600dp/priority_indicators.xml (renamed from res/layout-w1024dp/priority_indicators.xml)22
-rw-r--r--res/layout-sw600dp/share_popup.xml47
-rw-r--r--res/layout/bg_replacement_training_message.xml10
-rw-r--r--res/layout/first_hint_toast.xml35
-rw-r--r--res/layout/pano_capture.xml3
-rw-r--r--res/layout/pano_review.xml14
-rw-r--r--res/layout/preview_frame.xml1
-rw-r--r--res/layout/preview_frame_video.xml1
-rw-r--r--res/layout/priority_indicators.xml26
-rw-r--r--res/layout/rotate_text_toast.xml39
-rw-r--r--res/layout/share_popup.xml62
-rw-r--r--res/raw/backdropper.graph1
-rw-r--r--res/values-sw600dp/styles.xml13
-rw-r--r--res/values/styles.xml10
85 files changed, 229 insertions, 130 deletions
diff --git a/res/anim/grow_fade_in_from_right.xml b/res/anim-sw600dp/setting_popup_grow_fade_in.xml
index 3c7ff01..3c7ff01 100644
--- a/res/anim/grow_fade_in_from_right.xml
+++ b/res/anim-sw600dp/setting_popup_grow_fade_in.xml
diff --git a/res/anim/shrink_fade_out_from_right.xml b/res/anim-sw600dp/setting_popup_shrink_fade_out.xml
index dd6c43e..dd6c43e 100644
--- a/res/anim/shrink_fade_out_from_right.xml
+++ b/res/anim-sw600dp/setting_popup_shrink_fade_out.xml
diff --git a/res/anim/setting_popup_grow_fade_in.xml b/res/anim/setting_popup_grow_fade_in.xml
new file mode 100644
index 0000000..32f37c4
--- /dev/null
+++ b/res/anim/setting_popup_grow_fade_in.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/res/anim/fade_in.xml
+**
+** Copyright 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.
+*/
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
+ <scale android:interpolator="@android:interpolator/decelerate_quint"
+ android:fromXScale="0.9" android:toXScale="1.0"
+ android:fromYScale="0.9" android:toYScale="1.0"
+ android:pivotX="50%" android:pivotY="100%"
+ android:duration="300" />
+ <alpha android:interpolator="@android:interpolator/decelerate_cubic"
+ android:fromAlpha="0.5" android:toAlpha="1.0"
+ android:duration="300" />
+</set>
diff --git a/res/anim/setting_popup_shrink_fade_out.xml b/res/anim/setting_popup_shrink_fade_out.xml
new file mode 100644
index 0000000..8b35b1b
--- /dev/null
+++ b/res/anim/setting_popup_shrink_fade_out.xml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+/* //device/apps/common/res/anim/fade_out.xml
+**
+** Copyright 2007, 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.
+*/
+-->
+
+<set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false">
+ <scale android:interpolator="@android:interpolator/decelerate_quint"
+ android:fromXScale="1.0" android:toXScale="0.9"
+ android:fromYScale="1.0" android:toYScale="0.9"
+ android:pivotX="50%" android:pivotY="100%"
+ android:duration="300" />
+ <alpha android:interpolator="@android:interpolator/decelerate_cubic"
+ android:fromAlpha="1.0" android:toAlpha="0.0"
+ android:duration="300" />
+</set>
diff --git a/res/drawable-hdpi/ic_indicators_cloudy.png b/res/drawable-hdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..ced46ce
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_fluorescent.png b/res/drawable-hdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..c3420c6
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_incandescent.png b/res/drawable-hdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..be9c307
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_landscape.png b/res/drawable-hdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..8636fc0
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-hdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..da3a0c9
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_landscape_flash_off.png b/res/drawable-hdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..11239f0
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_landscape_flash_on.png b/res/drawable-hdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..c7af702
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_macro.png b/res/drawable-hdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..0ec71d5
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_scn.png b/res/drawable-hdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..675b1c5
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_indicators_sunlight.png b/res/drawable-hdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..f7fcba6
--- /dev/null
+++ b/res/drawable-hdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-hdpi/toast_frame_holo.9.png b/res/drawable-hdpi/toast_frame_holo.9.png
new file mode 100644
index 0000000..f8f75db
--- /dev/null
+++ b/res/drawable-hdpi/toast_frame_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_cloudy.png b/res/drawable-mdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..b089270
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_fluorescent.png b/res/drawable-mdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..0f6b74f
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_incandescent.png b/res/drawable-mdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..6042142
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_landscape.png b/res/drawable-mdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..643ea7c
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-mdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..38ac3b1
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_landscape_flash_off.png b/res/drawable-mdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..93cc249
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_landscape_flash_on.png b/res/drawable-mdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..c65dc71
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_macro.png b/res/drawable-mdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..f0ff4fe
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_scn.png b/res/drawable-mdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..5c152a8
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_indicators_sunlight.png b/res/drawable-mdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..59bce0f
--- /dev/null
+++ b/res/drawable-mdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-mdpi/toast_frame_holo.9.png b/res/drawable-mdpi/toast_frame_holo.9.png
new file mode 100644
index 0000000..f8f75db
--- /dev/null
+++ b/res/drawable-mdpi/toast_frame_holo.9.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_cloudy.png b/res/drawable-sw600dp-hdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..cafcff4
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_fluorescent.png b/res/drawable-sw600dp-hdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..79ac9bb
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_incandescent.png b/res/drawable-sw600dp-hdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..a1dae2a
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_landscape.png b/res/drawable-sw600dp-hdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..4019661
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..d571c0a
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_off.png b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..b5b7e7c
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_on.png b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..28ce420
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_macro.png b/res/drawable-sw600dp-hdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..5770a45
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_scn.png b/res/drawable-sw600dp-hdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..e8b0129
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-sw600dp-hdpi/ic_indicators_sunlight.png b/res/drawable-sw600dp-hdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..91abd26
--- /dev/null
+++ b/res/drawable-sw600dp-hdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_cloudy.png b/res/drawable-sw600dp-mdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..6b16cab
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_fluorescent.png b/res/drawable-sw600dp-mdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..d7c23bc
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_incandescent.png b/res/drawable-sw600dp-mdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..5e63b43
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_landscape.png b/res/drawable-sw600dp-mdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..36a66f5
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..95e410c
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_off.png b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..11ebc4f
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_on.png b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..2cb4f15
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_macro.png b/res/drawable-sw600dp-mdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..61ec7a4
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_scn.png b/res/drawable-sw600dp-mdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..da55fdb
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-sw600dp-mdpi/ic_indicators_sunlight.png b/res/drawable-sw600dp-mdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..4c8d29e
--- /dev/null
+++ b/res/drawable-sw600dp-mdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_cloudy.png b/res/drawable-sw600dp-xhdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..2fcd207
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_fluorescent.png b/res/drawable-sw600dp-xhdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..6214325
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_incandescent.png b/res/drawable-sw600dp-xhdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..dadc491
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_landscape.png b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..224a0c8
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..4ac81d8
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_off.png b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..86bf496
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_on.png b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..9bb5afa
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_macro.png b/res/drawable-sw600dp-xhdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..5c83fec
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_scn.png b/res/drawable-sw600dp-xhdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..0d145fb
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-sw600dp-xhdpi/ic_indicators_sunlight.png b/res/drawable-sw600dp-xhdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..79a8e46
--- /dev/null
+++ b/res/drawable-sw600dp-xhdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_cloudy.png b/res/drawable-xhdpi/ic_indicators_cloudy.png
new file mode 100644
index 0000000..a6d924b
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_cloudy.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_fluorescent.png b/res/drawable-xhdpi/ic_indicators_fluorescent.png
new file mode 100644
index 0000000..012c67f
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_fluorescent.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_incandescent.png b/res/drawable-xhdpi/ic_indicators_incandescent.png
new file mode 100644
index 0000000..84bbd6a
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_incandescent.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_landscape.png b/res/drawable-xhdpi/ic_indicators_landscape.png
new file mode 100644
index 0000000..ebbcd67
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_landscape.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_landscape_flash_auto.png b/res/drawable-xhdpi/ic_indicators_landscape_flash_auto.png
new file mode 100644
index 0000000..654746b
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_landscape_flash_auto.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_landscape_flash_off.png b/res/drawable-xhdpi/ic_indicators_landscape_flash_off.png
new file mode 100644
index 0000000..8edc075
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_landscape_flash_off.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_landscape_flash_on.png b/res/drawable-xhdpi/ic_indicators_landscape_flash_on.png
new file mode 100644
index 0000000..7f33bd5
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_landscape_flash_on.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_macro.png b/res/drawable-xhdpi/ic_indicators_macro.png
new file mode 100644
index 0000000..7d34b85
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_macro.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_scn.png b/res/drawable-xhdpi/ic_indicators_scn.png
new file mode 100644
index 0000000..fafc0bc
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_scn.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_indicators_sunlight.png b/res/drawable-xhdpi/ic_indicators_sunlight.png
new file mode 100644
index 0000000..71a0f68
--- /dev/null
+++ b/res/drawable-xhdpi/ic_indicators_sunlight.png
Binary files differ
diff --git a/res/drawable-xhdpi/toast_frame_holo.9.png b/res/drawable-xhdpi/toast_frame_holo.9.png
new file mode 100644
index 0000000..f8f75db
--- /dev/null
+++ b/res/drawable-xhdpi/toast_frame_holo.9.png
Binary files differ
diff --git a/res/layout-sw600dp/camera_control.xml b/res/layout-sw600dp/camera_control.xml
index 194547a..4637567 100644
--- a/res/layout-sw600dp/camera_control.xml
+++ b/res/layout-sw600dp/camera_control.xml
@@ -43,12 +43,12 @@
<com.android.camera.ui.IndicatorControlWheel android:id="@+id/indicator_control_wheel"
android:layout_width="match_parent"
android:layout_height="match_parent">
+ <com.android.camera.ui.ZoomControlWheel
+ android:id="@+id/zoom_control"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:visibility="gone" />
</com.android.camera.ui.IndicatorControlWheel>
- <com.android.camera.ui.ZoomControlWheel
- android:id="@+id/zoom_control"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:visibility="gone" />
</com.android.camera.ui.IndicatorControlWheelContainer>
<include layout="@layout/mode_picker" />
</com.android.camera.ui.ControlPanelLayout>
diff --git a/res/layout-sw600dp/pano_capture.xml b/res/layout-sw600dp/pano_capture.xml
index 2f58b10..1b2900b 100644
--- a/res/layout-sw600dp/pano_capture.xml
+++ b/res/layout-sw600dp/pano_capture.xml
@@ -55,8 +55,9 @@
<RelativeLayout
android:layout_gravity="center"
+ android:layout_weight="1.67"
android:layout_width="match_parent"
- android:layout_height="@dimen/pano_mosaic_surface_height">
+ android:layout_height="0dp">
<com.android.camera.panorama.MosaicRendererSurfaceView
android:id="@+id/pano_renderer"
android:layout_width="match_parent"
diff --git a/res/layout-sw600dp/preview_frame.xml b/res/layout-sw600dp/preview_frame.xml
index 896d394..1316f4a 100644
--- a/res/layout-sw600dp/preview_frame.xml
+++ b/res/layout-sw600dp/preview_frame.xml
@@ -31,6 +31,5 @@
android:visibility="gone"/>
<include layout="@layout/focus_indicator"/>
<include layout="@layout/priority_indicators"/>
- <include layout="@layout/first_hint_toast"/>
</com.android.camera.PreviewFrameLayout>
</RelativeLayout>
diff --git a/res/layout-sw600dp/preview_frame_video.xml b/res/layout-sw600dp/preview_frame_video.xml
index aab1ee1..1108814 100644
--- a/res/layout-sw600dp/preview_frame_video.xml
+++ b/res/layout-sw600dp/preview_frame_video.xml
@@ -48,6 +48,5 @@
android:background="@drawable/bg_pressed"
android:visibility="gone"
android:onClick="onReviewPlayClicked" />
- <include layout="@layout/first_hint_toast"/>
</com.android.camera.PreviewFrameLayout>
</RelativeLayout>
diff --git a/res/layout-w1024dp/priority_indicators.xml b/res/layout-sw600dp/priority_indicators.xml
index 4926484..77067b0 100644
--- a/res/layout-w1024dp/priority_indicators.xml
+++ b/res/layout-sw600dp/priority_indicators.xml
@@ -20,15 +20,21 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:padding="8dp">
- <ImageView style="@style/OnScreenIndicator"
- android:id="@+id/onscreen_gps_indicator_no_signal"
- android:src="@drawable/ic_viewfinder_gps_no_signal"/>
- <ImageView style="@style/OnScreenIndicator"
- android:id="@+id/onscreen_gps_indicator_on"
- android:src="@drawable/ic_viewfinder_gps_on"/>
- <TextView style="@style/OnScreenIndicator"
- android:id="@+id/onscreen_exposure_indicator"
+ <ImageView android:id="@+id/onscreen_flash_indicator"
+ style="@style/OnScreenIndicator"
+ android:visibility="visible"/>
+ <ImageView android:id="@+id/onscreen_white_balance_indicator"
+ style="@style/OnScreenIndicator"/>
+ <TextView android:id="@+id/onscreen_exposure_indicator"
+ style="@style/OnScreenIndicator"
android:gravity="center_vertical"
android:textSize="15dp"
android:textColor="@android:color/white"/>
+ <ImageView android:id="@+id/onscreen_scene_indicator"
+ style="@style/OnScreenIndicator"
+ android:src="@drawable/ic_indicators_scn"/>
+ <ImageView android:id="@+id/onscreen_gps_indicator"
+ style="@style/OnScreenIndicator"/>
+ <ImageView android:id="@+id/onscreen_focus_indicator"
+ style="@style/OnScreenIndicator"/>
</LinearLayout>
diff --git a/res/layout-sw600dp/share_popup.xml b/res/layout-sw600dp/share_popup.xml
index 900d646..96b39e1 100644
--- a/res/layout-sw600dp/share_popup.xml
+++ b/res/layout-sw600dp/share_popup.xml
@@ -26,34 +26,39 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="left|center">
- <RelativeLayout android:id="@+id/share_view"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@drawable/border_last_picture">
- <com.android.camera.ui.RotateLayout
- android:id="@+id/thumbnail_rotate_layout"
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/thumbnail_rotate_layout"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignParentRight="true">
+ <!-- The size of the thumbnail is calculated in SharePopup.java -->
+ <FrameLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true">
- <!-- The size of the thumbnail is calculated in SharePopup.java -->
- <FrameLayout
+ android:layout_height="wrap_content" >
+ <com.android.camera.ui.StackLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
+ android:layout_height="wrap_content">
<ImageView android:id="@+id/thumbnail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitCenter"/>
- <ImageView android:id="@+id/play"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:scaleType="center"
- style="@style/ReviewPlayIcon"/>
- </FrameLayout>
- </com.android.camera.ui.RotateLayout>
- </RelativeLayout>
+ <View
+ android:id="@+id/thumbnail_image_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="0dp"
+ android:background="@drawable/border_last_picture"
+ android:clickable="true"/>
+ </com.android.camera.ui.StackLayout>
+ <ImageView android:id="@+id/play"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:scaleType="center"
+ style="@style/ReviewPlayIcon"/>
+ </FrameLayout>
+ </com.android.camera.ui.RotateLayout>
<LinearLayout
android:layout_width="@dimen/share_item_width"
android:layout_height="match_parent"
diff --git a/res/layout/bg_replacement_training_message.xml b/res/layout/bg_replacement_training_message.xml
index 449e8df..3bef83e 100644
--- a/res/layout/bg_replacement_training_message.xml
+++ b/res/layout/bg_replacement_training_message.xml
@@ -29,7 +29,7 @@
<LinearLayout
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:orientation="horizontal"
+ android:orientation="vertical"
android:background="@drawable/dialog_full_holo_dark">
<TextView
android:layout_width="wrap_content"
@@ -39,13 +39,13 @@
android:padding="32dp" />
<View
- android:layout_height="match_parent"
- android:layout_width="1px"
+ android:layout_width="match_parent"
+ android:layout_height="1px"
android:background="#aaaaaa" />
<Button android:id="@+id/bg_replace_cancel_button"
- android:layout_height="match_parent"
- android:layout_width="48dip"
+ android:layout_width="match_parent"
+ android:layout_height="48dip"
android:layout_gravity="center"
android:textAppearance="?android:attr/textAppearanceMedium"
style="?android:attr/borderlessButtonStyle"
diff --git a/res/layout/first_hint_toast.xml b/res/layout/first_hint_toast.xml
deleted file mode 100644
index fb60d29..0000000
--- a/res/layout/first_hint_toast.xml
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
-**
-** Copyright 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.
-*/
--->
-<com.android.camera.ui.RotateLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/first_use_hint"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:visibility="gone">
- <TextView android:id="@+id/toast_text"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:paddingLeft="10dp"
- android:paddingRight="10dp"
- android:paddingTop="5dp"
- android:paddingBottom="5dp"
- android:textAppearance="?android:textAppearanceMedium"
- android:background="@color/on_viewfinder_label_background_color" />
-</com.android.camera.ui.RotateLayout>
-
diff --git a/res/layout/pano_capture.xml b/res/layout/pano_capture.xml
index d6430f4..49065fd 100644
--- a/res/layout/pano_capture.xml
+++ b/res/layout/pano_capture.xml
@@ -71,7 +71,8 @@
<RelativeLayout
android:layout_gravity="center"
- android:layout_width="@dimen/pano_mosaic_surface_height"
+ android:layout_weight="1.67"
+ android:layout_width="0dp"
android:layout_height="match_parent">
<com.android.camera.panorama.MosaicRendererSurfaceView
android:id="@+id/pano_renderer"
diff --git a/res/layout/pano_review.xml b/res/layout/pano_review.xml
index fa4f83b..7b9a92e 100644
--- a/res/layout/pano_review.xml
+++ b/res/layout/pano_review.xml
@@ -50,11 +50,15 @@
</com.android.camera.ui.RotateLayout>
</RelativeLayout>
- <ImageView android:id="@+id/pano_reviewarea"
- android:rotation="90"
- android:scaleType="fitCenter"
- android:layout_height="match_parent"
- android:layout_width="@dimen/pano_mosaic_surface_height" />
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/pano_rotate_reviewarea"
+ android:layout_width="@dimen/pano_mosaic_surface_height"
+ android:layout_height="match_parent">
+ <ImageView android:id="@+id/pano_reviewarea"
+ android:scaleType="fitCenter"
+ android:layout_height="match_parent"
+ android:layout_width="match_parent" />
+ </com.android.camera.ui.RotateLayout>
<LinearLayout android:id="@+id/pano_review_control"
style="@style/PanoViewHorizontalBar"
diff --git a/res/layout/preview_frame.xml b/res/layout/preview_frame.xml
index 31ba61b..bed1fb0 100644
--- a/res/layout/preview_frame.xml
+++ b/res/layout/preview_frame.xml
@@ -32,7 +32,6 @@
android:visibility="gone"/>
<include layout="@layout/focus_indicator"/>
<include layout="@layout/priority_indicators"/>
- <include layout="@layout/first_hint_toast"/>
</com.android.camera.PreviewFrameLayout>
<include layout="@layout/indicator_bar" />
</RelativeLayout>
diff --git a/res/layout/preview_frame_video.xml b/res/layout/preview_frame_video.xml
index 43d1b5a..dd3ffc9 100644
--- a/res/layout/preview_frame_video.xml
+++ b/res/layout/preview_frame_video.xml
@@ -48,7 +48,6 @@
android:src="@drawable/ic_gallery_play"
android:visibility="gone"
android:onClick="onReviewPlayClicked"/>
- <include layout="@layout/first_hint_toast"/>
</com.android.camera.PreviewFrameLayout>
<!-- Fill up the space below preview frame with black. -->
diff --git a/res/layout/priority_indicators.xml b/res/layout/priority_indicators.xml
index 794dfb8..a8318e0 100644
--- a/res/layout/priority_indicators.xml
+++ b/res/layout/priority_indicators.xml
@@ -20,19 +20,23 @@
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:padding="8dp">
- <ImageView style="@style/OnScreenIndicator"
- android:padding="1dp"
- android:id="@+id/onscreen_gps_indicator_no_signal"
- android:src="@drawable/ic_viewfinder_gps_no_signal"/>
- <ImageView style="@style/OnScreenIndicator"
- android:padding="1dp"
- android:id="@+id/onscreen_gps_indicator_on"
- android:src="@drawable/ic_viewfinder_gps_on"/>
- <TextView style="@style/OnScreenIndicator"
- android:id="@+id/onscreen_exposure_indicator"
+ <ImageView android:id="@+id/onscreen_flash_indicator"
+ style="@style/OnScreenIndicator"
+ android:visibility="visible"/>
+ <ImageView android:id="@+id/onscreen_white_balance_indicator"
+ style="@style/OnScreenIndicator"/>
+ <TextView android:id="@+id/onscreen_exposure_indicator"
+ style="@style/OnScreenIndicator"
android:layout_marginTop="6dp"
- android:rotation="90.0"
+ android:layout_marginBottom="6dp"
android:gravity="center_vertical"
android:textSize="15dp"
android:textColor="@android:color/white"/>
+ <ImageView android:id="@+id/onscreen_scene_indicator"
+ style="@style/OnScreenIndicator"
+ android:src="@drawable/ic_indicators_scn"/>
+ <ImageView android:id="@+id/onscreen_gps_indicator"
+ style="@style/OnScreenIndicator"/>
+ <ImageView android:id="@+id/onscreen_focus_indicator"
+ style="@style/OnScreenIndicator"/>
</LinearLayout>
diff --git a/res/layout/rotate_text_toast.xml b/res/layout/rotate_text_toast.xml
new file mode 100644
index 0000000..2c89b6f
--- /dev/null
+++ b/res/layout/rotate_text_toast.xml
@@ -0,0 +1,39 @@
+<?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.
+-->
+
+<com.android.camera.ui.RotateLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@+id/rotate_toast"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:visibility="gone">
+
+ <FrameLayout
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:background="@drawable/toast_frame_holo">
+ <TextView
+ android:id="@+id/message"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:textAppearanceMedium"
+ android:textColor="@android:color/white"
+ android:shadowColor="#BB000000"
+ android:shadowRadius="2.75" />
+ </FrameLayout>
+</com.android.camera.ui.RotateLayout>
+
+
diff --git a/res/layout/share_popup.xml b/res/layout/share_popup.xml
index aa70cf9..19b2152 100644
--- a/res/layout/share_popup.xml
+++ b/res/layout/share_popup.xml
@@ -19,42 +19,46 @@
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:camera="http://schemas.android.com/apk/res/com.android.camera"
- android:layout_height="match_parent"
android:layout_width="match_parent"
+ android:layout_height="match_parent"
android:background="@color/share_popup_background">
<FrameLayout android:id="@+id/root"
- android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:layout_gravity="left|center">
- <RelativeLayout android:id="@+id/share_view"
- android:layout_height="wrap_content"
+ <com.android.camera.ui.RotateLayout
+ android:id="@+id/thumbnail_rotate_layout"
android:layout_width="wrap_content"
- android:layout_gravity="center"
- android:background="@drawable/border_last_picture">
- <com.android.camera.ui.RotateLayout
- android:id="@+id/thumbnail_rotate_layout"
- android:layout_height="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="bottom">
+ <!-- The size of the thumbnail is calculated in SharePopup.java -->
+ <FrameLayout
android:layout_width="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentRight="true">
- <!-- The size of the thumbnail is calculated in SharePopup.java -->
- <FrameLayout
+ android:layout_height="wrap_content" >
+ <com.android.camera.ui.StackLayout
android:layout_width="wrap_content"
- android:layout_height="wrap_content" >
+ android:layout_height="wrap_content">
<ImageView android:id="@+id/thumbnail"
- android:layout_height="wrap_content"
android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:adjustViewBounds="true"
android:scaleType="fitCenter"/>
- <ImageView android:id="@+id/play"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_gravity="center"
- android:scaleType="center"
- style="@style/ReviewPlayIcon"/>
- </FrameLayout>
- </com.android.camera.ui.RotateLayout>
- </RelativeLayout>
+ <View
+ android:id="@+id/thumbnail_image_frame"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="0dp"
+ android:background="@drawable/border_last_picture"
+ android:clickable="true"/>
+ </com.android.camera.ui.StackLayout>
+ <ImageView android:id="@+id/play"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:scaleType="center"
+ style="@style/ReviewPlayIcon"/>
+ </FrameLayout>
+ </com.android.camera.ui.RotateLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="@dimen/share_item_height"
@@ -64,14 +68,14 @@
android:layout_alignParentRight="true"
android:id="@+id/goto_gallery_button_rotate"
android:layout_centerVertical="true"
- android:layout_height="match_parent"
- android:layout_width="@dimen/share_item_height">
+ android:layout_width="wrap_content"
+ android:layout_height="match_parent">
<ImageButton
android:id="@+id/goto_gallery_button"
android:background="?android:attr/selectableItemBackground"
- android:layout_height="match_parent"
- android:layout_width="match_parent"
- android:scaleType="center"
+ android:layout_gravity="center"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
android:src="@drawable/ic_gallery" />
</com.android.camera.ui.RotateLayout>
<View
diff --git a/res/raw/backdropper.graph b/res/raw/backdropper.graph
index a903f12..ef470f8 100644
--- a/res/raw/backdropper.graph
+++ b/res/raw/backdropper.graph
@@ -61,6 +61,7 @@
@filter BackDropperFilter replacer {
autowbToggle = 1;
learningDoneListener = $learningDoneListener;
+ orientation = $orientation;
}
// Display output
diff --git a/res/values-sw600dp/styles.xml b/res/values-sw600dp/styles.xml
index 65d3683..0f29321 100644
--- a/res/values-sw600dp/styles.xml
+++ b/res/values-sw600dp/styles.xml
@@ -43,6 +43,14 @@
<item name="android:textSize">12sp</item>
<item name="android:textStyle">bold</item>
</style>
+ <style name="OnScreenIndicator">
+ <item name="android:layout_height">28dp</item>
+ <item name="android:layout_width">wrap_content</item>
+ <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:focusable">false</item>
+ <item name="android:visibility">gone</item>
+ <item name="android:layout_marginRight">8dp</item>
+ </style>
<style name="ReviewThumbnail">
<item name="android:layout_width">86dp</item>
<item name="android:layout_height">86dp</item>
@@ -75,4 +83,9 @@
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
</style>
+ <style name="ViewfinderLableLayout">
+ <item name="android:layout_width">match_parent</item>
+ <item name="android:layout_height">match_parent</item>
+ <item name="android:layout_margin">13dp</item>
+ </style>
</resources>
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 79cc759..204a650 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -141,18 +141,19 @@
<style name="OnScreenIndicator">
<item name="android:layout_height">28dp</item>
<item name="android:layout_width">wrap_content</item>
- <item name="android:layout_gravity">center_vertical</item>
+ <item name="android:layout_gravity">center_horizontal</item>
<item name="android:focusable">false</item>
<item name="android:visibility">gone</item>
- <item name="android:layout_marginRight">8dp</item>
+ <item name="android:rotation">90</item>
+ <item name="android:padding">1dp</item>
</style>
<style name="ViewfinderLableLayout">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
<item name="android:layout_marginTop">13dp</item>
- <item name="android:layout_marginBottom">13dp</item>
+ <item name="android:layout_marginBottom">@dimen/indicator_bar_width</item>
<item name="android:layout_marginLeft">13dp</item>
- <item name="android:layout_marginRight">@dimen/indicator_bar_width</item>
+ <item name="android:layout_marginRight">13dp</item>
</style>
<style name="OnViewfinderLabel">
<item name="android:gravity">center</item>
@@ -245,7 +246,6 @@
</style>
<style name="OneRowGrid">
<item name="android:stretchMode">none</item>
- <item name="android:columnWidth">@dimen/share_item_width</item>
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">match_parent</item>
</style>