From 30f0481931beed547656f2c7bc6290ecc9b01ac3 Mon Sep 17 00:00:00 2001 From: Chih-yu Huang Date: Thu, 8 Sep 2011 15:53:56 +0800 Subject: Change image of review control buttons. bug:5244256 Change-Id: Idf02f40edb7e2e15edb4fc1ac86a4694d9147661 --- res/drawable-hdpi/btn_retake_shutter_holo.png | Bin 0 -> 3378 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 4787 bytes res/drawable-hdpi/ic_menu_cancel_holo_light.png | Bin 605 -> 635 bytes res/drawable-hdpi/ic_menu_done_holo_light.png | Bin 562 -> 762 bytes res/drawable-hdpi/list_pressed_holo_light.9.png | Bin 0 -> 159 bytes res/drawable-mdpi/btn_retake_shutter_holo.png | Bin 0 -> 2161 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 3127 bytes res/drawable-mdpi/ic_menu_cancel_holo_light.png | Bin 605 -> 535 bytes res/drawable-mdpi/ic_menu_done_holo_light.png | Bin 562 -> 605 bytes res/drawable-mdpi/list_pressed_holo_light.9.png | Bin 0 -> 158 bytes .../btn_retake_shutter_holo.png | Bin 0 -> 27944 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 31554 bytes .../btn_retake_shutter_holo.png | Bin 0 -> 18037 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 20291 bytes .../btn_retake_shutter_holo.png | Bin 0 -> 44373 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 49443 bytes res/drawable-xhdpi/btn_retake_shutter_holo.png | Bin 0 -> 4797 bytes .../btn_retake_shutter_pressed_holo.png | Bin 0 -> 6979 bytes res/drawable-xhdpi/ic_menu_cancel_holo_light.png | Bin 0 -> 763 bytes res/drawable-xhdpi/ic_menu_done_holo_light.png | Bin 0 -> 957 bytes res/drawable-xhdpi/list_pressed_holo_light.9.png | Bin 0 -> 163 bytes res/drawable/bg_review_control.xml | 20 ++++++++ res/drawable/btn_shutter_retake.xml | 21 ++++++++ res/layout-w1024dp/camera_control.xml | 3 +- res/layout-w1024dp/preview_frame_video.xml | 34 +++++++------ res/layout-w1024dp/review_control.xml | 53 +++++++++++++-------- res/layout/camera_control.xml | 35 ++------------ res/layout/preview_frame_video.xml | 4 +- res/layout/review_control.xml | 44 +++++++++++++++++ res/values-w1024dp/styles.xml | 17 +++++-- res/values/styles.xml | 19 ++++---- src/com/android/camera/Camera.java | 7 ++- src/com/android/camera/Util.java | 13 ++++- src/com/android/camera/VideoCamera.java | 6 +-- 34 files changed, 181 insertions(+), 95 deletions(-) create mode 100644 res/drawable-hdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-hdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-hdpi/list_pressed_holo_light.9.png create mode 100644 res/drawable-mdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-mdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-mdpi/list_pressed_holo_light.9.png create mode 100644 res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-xhdpi/btn_retake_shutter_holo.png create mode 100644 res/drawable-xhdpi/btn_retake_shutter_pressed_holo.png create mode 100644 res/drawable-xhdpi/ic_menu_cancel_holo_light.png create mode 100644 res/drawable-xhdpi/ic_menu_done_holo_light.png create mode 100644 res/drawable-xhdpi/list_pressed_holo_light.9.png create mode 100644 res/drawable/bg_review_control.xml create mode 100644 res/drawable/btn_shutter_retake.xml create mode 100644 res/layout/review_control.xml diff --git a/res/drawable-hdpi/btn_retake_shutter_holo.png b/res/drawable-hdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..8f3f39f Binary files /dev/null and b/res/drawable-hdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-hdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-hdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..84c7935 Binary files /dev/null and b/res/drawable-hdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-hdpi/ic_menu_cancel_holo_light.png b/res/drawable-hdpi/ic_menu_cancel_holo_light.png index cb9abb9..8de1ae6 100644 Binary files a/res/drawable-hdpi/ic_menu_cancel_holo_light.png and b/res/drawable-hdpi/ic_menu_cancel_holo_light.png differ diff --git a/res/drawable-hdpi/ic_menu_done_holo_light.png b/res/drawable-hdpi/ic_menu_done_holo_light.png index fb56f3a..8649f42 100644 Binary files a/res/drawable-hdpi/ic_menu_done_holo_light.png and b/res/drawable-hdpi/ic_menu_done_holo_light.png differ diff --git a/res/drawable-hdpi/list_pressed_holo_light.9.png b/res/drawable-hdpi/list_pressed_holo_light.9.png new file mode 100644 index 0000000..5654cd6 Binary files /dev/null and b/res/drawable-hdpi/list_pressed_holo_light.9.png differ diff --git a/res/drawable-mdpi/btn_retake_shutter_holo.png b/res/drawable-mdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..062ad9d Binary files /dev/null and b/res/drawable-mdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-mdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-mdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..a1a9e73 Binary files /dev/null and b/res/drawable-mdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-mdpi/ic_menu_cancel_holo_light.png b/res/drawable-mdpi/ic_menu_cancel_holo_light.png index cb9abb9..94d35da 100644 Binary files a/res/drawable-mdpi/ic_menu_cancel_holo_light.png and b/res/drawable-mdpi/ic_menu_cancel_holo_light.png differ diff --git a/res/drawable-mdpi/ic_menu_done_holo_light.png b/res/drawable-mdpi/ic_menu_done_holo_light.png index fb56f3a..06c0109 100644 Binary files a/res/drawable-mdpi/ic_menu_done_holo_light.png and b/res/drawable-mdpi/ic_menu_done_holo_light.png differ diff --git a/res/drawable-mdpi/list_pressed_holo_light.9.png b/res/drawable-mdpi/list_pressed_holo_light.9.png new file mode 100644 index 0000000..6e77525 Binary files /dev/null and b/res/drawable-mdpi/list_pressed_holo_light.9.png differ diff --git a/res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png b/res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..a812971 Binary files /dev/null and b/res/drawable-w1024dp-hdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..b3e852b Binary files /dev/null and b/res/drawable-w1024dp-hdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png b/res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..c292d59 Binary files /dev/null and b/res/drawable-w1024dp-mdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..fe083ee Binary files /dev/null and b/res/drawable-w1024dp-mdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png b/res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..6cae86f Binary files /dev/null and b/res/drawable-w1024dp-xhdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..2120ab1 Binary files /dev/null and b/res/drawable-w1024dp-xhdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-xhdpi/btn_retake_shutter_holo.png b/res/drawable-xhdpi/btn_retake_shutter_holo.png new file mode 100644 index 0000000..d87e496 Binary files /dev/null and b/res/drawable-xhdpi/btn_retake_shutter_holo.png differ diff --git a/res/drawable-xhdpi/btn_retake_shutter_pressed_holo.png b/res/drawable-xhdpi/btn_retake_shutter_pressed_holo.png new file mode 100644 index 0000000..4aa4dd0 Binary files /dev/null and b/res/drawable-xhdpi/btn_retake_shutter_pressed_holo.png differ diff --git a/res/drawable-xhdpi/ic_menu_cancel_holo_light.png b/res/drawable-xhdpi/ic_menu_cancel_holo_light.png new file mode 100644 index 0000000..e4f8c22 Binary files /dev/null and b/res/drawable-xhdpi/ic_menu_cancel_holo_light.png differ diff --git a/res/drawable-xhdpi/ic_menu_done_holo_light.png b/res/drawable-xhdpi/ic_menu_done_holo_light.png new file mode 100644 index 0000000..2485c62 Binary files /dev/null and b/res/drawable-xhdpi/ic_menu_done_holo_light.png differ diff --git a/res/drawable-xhdpi/list_pressed_holo_light.9.png b/res/drawable-xhdpi/list_pressed_holo_light.9.png new file mode 100644 index 0000000..e4b3393 Binary files /dev/null and b/res/drawable-xhdpi/list_pressed_holo_light.9.png differ diff --git a/res/drawable/bg_review_control.xml b/res/drawable/bg_review_control.xml new file mode 100644 index 0000000..979cc86 --- /dev/null +++ b/res/drawable/bg_review_control.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/drawable/btn_shutter_retake.xml b/res/drawable/btn_shutter_retake.xml new file mode 100644 index 0000000..0a836b9 --- /dev/null +++ b/res/drawable/btn_shutter_retake.xml @@ -0,0 +1,21 @@ + + + + + + + + diff --git a/res/layout-w1024dp/camera_control.xml b/res/layout-w1024dp/camera_control.xml index 63bb643..194547a 100644 --- a/res/layout-w1024dp/camera_control.xml +++ b/res/layout-w1024dp/camera_control.xml @@ -28,7 +28,6 @@ - - + diff --git a/res/layout-w1024dp/preview_frame_video.xml b/res/layout-w1024dp/preview_frame_video.xml index edd176a..8a5ecd5 100644 --- a/res/layout-w1024dp/preview_frame_video.xml +++ b/res/layout-w1024dp/preview_frame_video.xml @@ -24,7 +24,7 @@ android:layout_height="match_parent"> + android:layout_height="match_parent" /> + android:visibility="gone" /> + android:visibility="gone" /> - + android:background="@drawable/bg_text_on_preview" + android:text="@string/bg_replacement_message" /> + + android:background="@android:color/black" /> + android:visibility="gone" /> diff --git a/res/layout-w1024dp/review_control.xml b/res/layout-w1024dp/review_control.xml index a973dc8..7fdbafb 100644 --- a/res/layout-w1024dp/review_control.xml +++ b/res/layout-w1024dp/review_control.xml @@ -14,27 +14,38 @@ limitations under the License. --> - -