summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ng <petergng@google.com>2011-10-04 16:27:53 -0700
committerPeter Ng <petergng@google.com>2011-10-04 16:27:53 -0700
commitcc366b7a55efb38c7f4db0d474d24577de7f2ecd (patch)
treec2829b22ed57e2fb4b9b6d057a88bdd961b8f8e0
parent9e38ed1e6e39e243d421efa6fb007f5fb7cf779e (diff)
downloadandroid_packages_apps_ExactCalculator-cc366b7a55efb38c7f4db0d474d24577de7f2ecd.tar.gz
android_packages_apps_ExactCalculator-cc366b7a55efb38c7f4db0d474d24577de7f2ecd.tar.bz2
android_packages_apps_ExactCalculator-cc366b7a55efb38c7f4db0d474d24577de7f2ecd.zip
Updated calculator visuals to standard ics buttons
Bug: 5143830 Change-Id: Ida9ad2da04b2579b3be83828fddaceea8f0228cf
-rw-r--r--res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.pngbin520 -> 320 bytes
-rw-r--r--res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.pngbin718 -> 412 bytes
-rw-r--r--res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.pngbin689 -> 329 bytes
-rw-r--r--res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.pngbin780 -> 373 bytes
-rw-r--r--res/drawable-hdpi/calc_clear_symbol.pngbin0 -> 951 bytes
-rw-r--r--res/drawable-hdpi/calculator_input_field.9.pngbin0 -> 270 bytes
-rw-r--r--res/drawable-mdpi/btn_keyboard_key_dark_normal_holo.9.pngbin1275 -> 271 bytes
-rw-r--r--res/drawable-mdpi/btn_keyboard_key_dark_pressed_holo.9.pngbin1511 -> 323 bytes
-rw-r--r--res/drawable-mdpi/btn_keyboard_key_light_normal_holo.9.pngbin1329 -> 258 bytes
-rw-r--r--res/drawable-mdpi/btn_keyboard_key_light_pressed_holo.9.pngbin1469 -> 322 bytes
-rw-r--r--res/drawable-mdpi/calc_clear_symbol.pngbin0 -> 673 bytes
-rw-r--r--res/drawable-mdpi/calculator_input_field.9.pngbin0 -> 226 bytes
-rw-r--r--res/drawable-xhdpi/btn_keyboard_key_dark_normal_holo.9.pngbin0 -> 429 bytes
-rw-r--r--res/drawable-xhdpi/btn_keyboard_key_dark_pressed_holo.9.pngbin0 -> 543 bytes
-rw-r--r--res/drawable-xhdpi/btn_keyboard_key_light_normal_holo.9.pngbin0 -> 436 bytes
-rw-r--r--res/drawable-xhdpi/btn_keyboard_key_light_pressed_holo.9.pngbin0 -> 515 bytes
-rw-r--r--res/drawable-xhdpi/calc_clear_symbol.pngbin0 -> 1271 bytes
-rw-r--r--res/drawable-xhdpi/calculator_input_field.9.pngbin0 -> 297 bytes
-rw-r--r--res/mipmap-hdpi/ic_launcher_calculator.pngbin17954 -> 18081 bytes
-rw-r--r--res/values/styles.xml4
20 files changed, 2 insertions, 2 deletions
diff --git a/res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.png b/res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.png
index d13386a..19bde28 100644
--- a/res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.png
+++ b/res/drawable-hdpi/btn_keyboard_key_dark_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.png b/res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.png
index 77a0e7d..7dc515e 100644
--- a/res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.png
+++ b/res/drawable-hdpi/btn_keyboard_key_dark_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.png b/res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.png
index 763c538..713bfc1 100644
--- a/res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.png
+++ b/res/drawable-hdpi/btn_keyboard_key_light_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.png b/res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.png
index 328fe16..c290ebe 100644
--- a/res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.png
+++ b/res/drawable-hdpi/btn_keyboard_key_light_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-hdpi/calc_clear_symbol.png b/res/drawable-hdpi/calc_clear_symbol.png
new file mode 100644
index 0000000..3ce9dda
--- /dev/null
+++ b/res/drawable-hdpi/calc_clear_symbol.png
Binary files differ
diff --git a/res/drawable-hdpi/calculator_input_field.9.png b/res/drawable-hdpi/calculator_input_field.9.png
new file mode 100644
index 0000000..49770cd
--- /dev/null
+++ b/res/drawable-hdpi/calculator_input_field.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_keyboard_key_dark_normal_holo.9.png b/res/drawable-mdpi/btn_keyboard_key_dark_normal_holo.9.png
index 1534d99..4f27350 100644
--- a/res/drawable-mdpi/btn_keyboard_key_dark_normal_holo.9.png
+++ b/res/drawable-mdpi/btn_keyboard_key_dark_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_keyboard_key_dark_pressed_holo.9.png b/res/drawable-mdpi/btn_keyboard_key_dark_pressed_holo.9.png
index 9fed21e..3802c34 100644
--- a/res/drawable-mdpi/btn_keyboard_key_dark_pressed_holo.9.png
+++ b/res/drawable-mdpi/btn_keyboard_key_dark_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_keyboard_key_light_normal_holo.9.png b/res/drawable-mdpi/btn_keyboard_key_light_normal_holo.9.png
index eded173..37966f5 100644
--- a/res/drawable-mdpi/btn_keyboard_key_light_normal_holo.9.png
+++ b/res/drawable-mdpi/btn_keyboard_key_light_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/btn_keyboard_key_light_pressed_holo.9.png b/res/drawable-mdpi/btn_keyboard_key_light_pressed_holo.9.png
index e6a1dce..cce8b22 100644
--- a/res/drawable-mdpi/btn_keyboard_key_light_pressed_holo.9.png
+++ b/res/drawable-mdpi/btn_keyboard_key_light_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-mdpi/calc_clear_symbol.png b/res/drawable-mdpi/calc_clear_symbol.png
new file mode 100644
index 0000000..ac301e2
--- /dev/null
+++ b/res/drawable-mdpi/calc_clear_symbol.png
Binary files differ
diff --git a/res/drawable-mdpi/calculator_input_field.9.png b/res/drawable-mdpi/calculator_input_field.9.png
new file mode 100644
index 0000000..6146973
--- /dev/null
+++ b/res/drawable-mdpi/calculator_input_field.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/btn_keyboard_key_dark_normal_holo.9.png b/res/drawable-xhdpi/btn_keyboard_key_dark_normal_holo.9.png
new file mode 100644
index 0000000..1db8b6f
--- /dev/null
+++ b/res/drawable-xhdpi/btn_keyboard_key_dark_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/btn_keyboard_key_dark_pressed_holo.9.png b/res/drawable-xhdpi/btn_keyboard_key_dark_pressed_holo.9.png
new file mode 100644
index 0000000..374399b
--- /dev/null
+++ b/res/drawable-xhdpi/btn_keyboard_key_dark_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/btn_keyboard_key_light_normal_holo.9.png b/res/drawable-xhdpi/btn_keyboard_key_light_normal_holo.9.png
new file mode 100644
index 0000000..1c3293d
--- /dev/null
+++ b/res/drawable-xhdpi/btn_keyboard_key_light_normal_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/btn_keyboard_key_light_pressed_holo.9.png b/res/drawable-xhdpi/btn_keyboard_key_light_pressed_holo.9.png
new file mode 100644
index 0000000..3f010de
--- /dev/null
+++ b/res/drawable-xhdpi/btn_keyboard_key_light_pressed_holo.9.png
Binary files differ
diff --git a/res/drawable-xhdpi/calc_clear_symbol.png b/res/drawable-xhdpi/calc_clear_symbol.png
new file mode 100644
index 0000000..570ff39
--- /dev/null
+++ b/res/drawable-xhdpi/calc_clear_symbol.png
Binary files differ
diff --git a/res/drawable-xhdpi/calculator_input_field.9.png b/res/drawable-xhdpi/calculator_input_field.9.png
new file mode 100644
index 0000000..b6adbbf
--- /dev/null
+++ b/res/drawable-xhdpi/calculator_input_field.9.png
Binary files differ
diff --git a/res/mipmap-hdpi/ic_launcher_calculator.png b/res/mipmap-hdpi/ic_launcher_calculator.png
index 8b4294a..0efd23c 100644
--- a/res/mipmap-hdpi/ic_launcher_calculator.png
+++ b/res/mipmap-hdpi/ic_launcher_calculator.png
Binary files differ
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 5e474c9..3a5f228 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -26,12 +26,12 @@
<item name="android:layout_height">match_parent</item>
<item name="android:layout_weight">1</item>
<item name="android:focusable">true</item>
- <item name="android:background">@drawable/button</item>
+ <item name="android:background">@drawable/btn_function</item>
<item name="android:layout_marginLeft">1dp</item>
</style>
<style name="digit_button_style" parent="button_style">
- <item name="android:background">@drawable/blue_button</item>
+ <item name="android:background">@drawable/btn_digit</item>
</style>
<style name="button_small_style" parent="button_style">