summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorChung-yih Wang <cywang@google.com>2011-09-21 19:20:10 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-09-21 19:20:10 -0700
commitc9b05bf45bdefe34c2d5591fef3224dd2049461c (patch)
treec6014ae5f84561d3044522333396631b54346602 /res
parent82d8d49ab1d0d303fc2e1c81e89389a81404895f (diff)
parent606093cd434a89f5ca941d3a6d6e8470eb768c67 (diff)
downloadLegacyCamera-c9b05bf45bdefe34c2d5591fef3224dd2049461c.zip
LegacyCamera-c9b05bf45bdefe34c2d5591fef3224dd2049461c.tar.gz
LegacyCamera-c9b05bf45bdefe34c2d5591fef3224dd2049461c.tar.bz2
Merge "Fix the zoom control bar UI on phone." into ics-factoryrom
Diffstat (limited to 'res')
-rw-r--r--res/drawable-hdpi/ic_zoom_big.9.pngbin206 -> 135 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_big_dark.9.pngbin0 -> 170 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_in_holo_dark.pngbin0 -> 515 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_in_holo_light.pngbin515 -> 215 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_out_holo_dark.pngbin0 -> 379 bytes
-rw-r--r--res/drawable-hdpi/ic_zoom_out_holo_light.pngbin379 -> 184 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_big.9.pngbin173 -> 132 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_big_dark.9.pngbin0 -> 168 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_in_holo_dark.pngbin0 -> 465 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_in_holo_light.pngbin465 -> 223 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_out_holo_dark.pngbin0 -> 366 bytes
-rw-r--r--res/drawable-mdpi/ic_zoom_out_holo_light.pngbin366 -> 178 bytes
-rw-r--r--res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.pngbin0 -> 657 bytes
-rw-r--r--res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.pngbin657 -> 269 bytes
-rw-r--r--res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.pngbin0 -> 450 bytes
-rw-r--r--res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.pngbin450 -> 202 bytes
-rw-r--r--res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.pngbin0 -> 545 bytes
-rw-r--r--res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.pngbin545 -> 212 bytes
-rw-r--r--res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.pngbin0 -> 434 bytes
-rw-r--r--res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.pngbin434 -> 183 bytes
-rw-r--r--res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.pngbin0 -> 492 bytes
-rw-r--r--res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.pngbin492 -> 221 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_big.9.pngbin211 -> 92 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_big_dark.9.pngbin0 -> 171 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_in_holo_dark.pngbin0 -> 580 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_in_holo_light.pngbin580 -> 251 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_out_holo_dark.pngbin0 -> 411 bytes
-rw-r--r--res/drawable-xhdpi/ic_zoom_out_holo_light.pngbin411 -> 200 bytes
-rw-r--r--res/drawable/ic_zoom_in.xml21
-rw-r--r--res/drawable/ic_zoom_out.xml21
-rw-r--r--res/drawable/zoom_slider_bar.xml21
-rw-r--r--res/layout/indicator_bar.xml1
32 files changed, 63 insertions, 1 deletions
diff --git a/res/drawable-hdpi/ic_zoom_big.9.png b/res/drawable-hdpi/ic_zoom_big.9.png
index cc40dec..8e6380e 100644
--- a/res/drawable-hdpi/ic_zoom_big.9.png
+++ b/res/drawable-hdpi/ic_zoom_big.9.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_big_dark.9.png b/res/drawable-hdpi/ic_zoom_big_dark.9.png
new file mode 100644
index 0000000..340254b
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_big_dark.9.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_in_holo_dark.png b/res/drawable-hdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..89b5f15
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_in_holo_light.png b/res/drawable-hdpi/ic_zoom_in_holo_light.png
index 89b5f15..b96da3b 100644
--- a/res/drawable-hdpi/ic_zoom_in_holo_light.png
+++ b/res/drawable-hdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_out_holo_dark.png b/res/drawable-hdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..f4a2589
--- /dev/null
+++ b/res/drawable-hdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-hdpi/ic_zoom_out_holo_light.png b/res/drawable-hdpi/ic_zoom_out_holo_light.png
index f4a2589..2f6a7b5 100644
--- a/res/drawable-hdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-hdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_big.9.png b/res/drawable-mdpi/ic_zoom_big.9.png
index 9c2019c..e551fd0 100644
--- a/res/drawable-mdpi/ic_zoom_big.9.png
+++ b/res/drawable-mdpi/ic_zoom_big.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_big_dark.9.png b/res/drawable-mdpi/ic_zoom_big_dark.9.png
new file mode 100644
index 0000000..4c12ae5
--- /dev/null
+++ b/res/drawable-mdpi/ic_zoom_big_dark.9.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_in_holo_dark.png b/res/drawable-mdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..4f33278
--- /dev/null
+++ b/res/drawable-mdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_in_holo_light.png b/res/drawable-mdpi/ic_zoom_in_holo_light.png
index 4f33278..fb840e1 100644
--- a/res/drawable-mdpi/ic_zoom_in_holo_light.png
+++ b/res/drawable-mdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_out_holo_dark.png b/res/drawable-mdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..2631894
--- /dev/null
+++ b/res/drawable-mdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-mdpi/ic_zoom_out_holo_light.png b/res/drawable-mdpi/ic_zoom_out_holo_light.png
index 2631894..55bc997 100644
--- a/res/drawable-mdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-mdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.png b/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..99d5ef4
--- /dev/null
+++ b/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png b/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png
index 99d5ef4..42c0a75 100644
--- a/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png
+++ b/res/drawable-w1024dp-hdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.png b/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..5fa4c95
--- /dev/null
+++ b/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png b/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png
index 5fa4c95..5a8eac8 100644
--- a/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-w1024dp-hdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.png b/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..fd35207
--- /dev/null
+++ b/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png b/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png
index fd35207..3d55439 100644
--- a/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png
+++ b/res/drawable-w1024dp-mdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.png b/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..e282872
--- /dev/null
+++ b/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png b/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png
index e282872..1a5475b 100644
--- a/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-w1024dp-mdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.png b/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..34064d7
--- /dev/null
+++ b/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png b/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png
index 34064d7..6297de4 100644
--- a/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-w1024dp-xhdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_big.9.png b/res/drawable-xhdpi/ic_zoom_big.9.png
index 1e27378..48b9e24 100644
--- a/res/drawable-xhdpi/ic_zoom_big.9.png
+++ b/res/drawable-xhdpi/ic_zoom_big.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_big_dark.9.png b/res/drawable-xhdpi/ic_zoom_big_dark.9.png
new file mode 100644
index 0000000..b33b546
--- /dev/null
+++ b/res/drawable-xhdpi/ic_zoom_big_dark.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_in_holo_dark.png b/res/drawable-xhdpi/ic_zoom_in_holo_dark.png
new file mode 100644
index 0000000..78178cd
--- /dev/null
+++ b/res/drawable-xhdpi/ic_zoom_in_holo_dark.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_in_holo_light.png b/res/drawable-xhdpi/ic_zoom_in_holo_light.png
index 78178cd..e950b13 100644
--- a/res/drawable-xhdpi/ic_zoom_in_holo_light.png
+++ b/res/drawable-xhdpi/ic_zoom_in_holo_light.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_out_holo_dark.png b/res/drawable-xhdpi/ic_zoom_out_holo_dark.png
new file mode 100644
index 0000000..426aac8
--- /dev/null
+++ b/res/drawable-xhdpi/ic_zoom_out_holo_dark.png
Binary files differ
diff --git a/res/drawable-xhdpi/ic_zoom_out_holo_light.png b/res/drawable-xhdpi/ic_zoom_out_holo_light.png
index 426aac8..c06ca66 100644
--- a/res/drawable-xhdpi/ic_zoom_out_holo_light.png
+++ b/res/drawable-xhdpi/ic_zoom_out_holo_light.png
Binary files differ
diff --git a/res/drawable/ic_zoom_in.xml b/res/drawable/ic_zoom_in.xml
new file mode 100644
index 0000000..7ba87ae
--- /dev/null
+++ b/res/drawable/ic_zoom_in.xml
@@ -0,0 +1,21 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_activated="true" android:drawable="@drawable/ic_zoom_in_holo_light" />
+ <item android:drawable="@drawable/ic_zoom_in_holo_dark" />
+</selector>
+
diff --git a/res/drawable/ic_zoom_out.xml b/res/drawable/ic_zoom_out.xml
new file mode 100644
index 0000000..1d46cbc
--- /dev/null
+++ b/res/drawable/ic_zoom_out.xml
@@ -0,0 +1,21 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_activated="true" android:drawable="@drawable/ic_zoom_out_holo_light" />
+ <item android:drawable="@drawable/ic_zoom_out_holo_dark" />
+</selector>
+
diff --git a/res/drawable/zoom_slider_bar.xml b/res/drawable/zoom_slider_bar.xml
new file mode 100644
index 0000000..234fd0f
--- /dev/null
+++ b/res/drawable/zoom_slider_bar.xml
@@ -0,0 +1,21 @@
+<?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.
+-->
+
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+ <item android:state_activated="true" android:drawable="@drawable/ic_zoom_big" />
+ <item android:drawable="@drawable/ic_zoom_big_dark" />
+</selector>
+
diff --git a/res/layout/indicator_bar.xml b/res/layout/indicator_bar.xml
index c39fb93..11276e3 100644
--- a/res/layout/indicator_bar.xml
+++ b/res/layout/indicator_bar.xml
@@ -49,7 +49,6 @@
android:id="@+id/zoom_control"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_centerHorizontal="true"
android:visibility="gone" />
<com.android.camera.ui.RotateImageView
android:id="@+id/second_level_indicator_bar_icon"