diff options
author | Alan Viverette <alanv@google.com> | 2014-03-03 14:25:51 -0800 |
---|---|---|
committer | Alan Viverette <alanv@google.com> | 2014-03-03 14:25:51 -0800 |
commit | 8bea49415c6de57f7e14517bf64769d24e3f099d (patch) | |
tree | bf64648afd1e32a5296de4ead59568c3f53d2061 /res/drawable | |
parent | af332849122b66ebaa567aef9621d7cbe2b7e6de (diff) | |
download | android_packages_apps_ExactCalculator-8bea49415c6de57f7e14517bf64769d24e3f099d.tar.gz android_packages_apps_ExactCalculator-8bea49415c6de57f7e14517bf64769d24e3f099d.tar.bz2 android_packages_apps_ExactCalculator-8bea49415c6de57f7e14517bf64769d24e3f099d.zip |
Quantum of Calculator
Change-Id: Ic79777951621c42f03e7da9dd73c350f5182f48e
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/btn_advanced.xml | 18 | ||||
-rw-r--r-- | res/drawable/btn_digit.xml | 15 | ||||
-rw-r--r-- | res/drawable/btn_function.xml | 14 | ||||
-rw-r--r-- | res/drawable/btn_stationary.xml | 22 | ||||
-rw-r--r-- | res/drawable/calc_clear_symbol.xml | 3 | ||||
-rw-r--r-- | res/drawable/shadow_bottom.xml | 9 | ||||
-rw-r--r-- | res/drawable/shadow_right.xml | 9 | ||||
-rw-r--r-- | res/drawable/shadow_top.xml | 9 |
8 files changed, 78 insertions, 21 deletions
diff --git a/res/drawable/btn_advanced.xml b/res/drawable/btn_advanced.xml new file mode 100644 index 0000000..f5d5190 --- /dev/null +++ b/res/drawable/btn_advanced.xml @@ -0,0 +1,18 @@ +<?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. +--> +<touch-feedback xmlns:android="http://schemas.android.com/apk/res/android" + android:color="@color/primary_dark" /> diff --git a/res/drawable/btn_digit.xml b/res/drawable/btn_digit.xml index 2f91721..9890e08 100644 --- a/res/drawable/btn_digit.xml +++ b/res/drawable/btn_digit.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project +<!-- + 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. @@ -13,13 +14,5 @@ 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_pressed="true" - android:drawable="@drawable/btn_keyboard_key_light_pressed_holo" /> - <item - android:drawable="@drawable/btn_keyboard_key_light_normal_holo" /> -</selector> +<touch-feedback xmlns:android="http://schemas.android.com/apk/res/android" + android:color="@color/gray_50" /> diff --git a/res/drawable/btn_function.xml b/res/drawable/btn_function.xml index 25a3e66..7440698 100644 --- a/res/drawable/btn_function.xml +++ b/res/drawable/btn_function.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2011 The Android Open Source Project +<!-- + 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. @@ -13,12 +14,5 @@ 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_pressed="true" - android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" /> - <item - android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" /> -</selector> +<touch-feedback xmlns:android="http://schemas.android.com/apk/res/android" + android:color="@color/gray_60" /> diff --git a/res/drawable/btn_stationary.xml b/res/drawable/btn_stationary.xml new file mode 100644 index 0000000..a8d5b55 --- /dev/null +++ b/res/drawable/btn_stationary.xml @@ -0,0 +1,22 @@ +<?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. +--> +<reveal xmlns:android="http://schemas.android.com/apk/res/android" > + + <item android:drawable="@color/primary_light"/> + <item android:drawable="@color/primary"/> + +</reveal>
\ No newline at end of file diff --git a/res/drawable/calc_clear_symbol.xml b/res/drawable/calc_clear_symbol.xml new file mode 100644 index 0000000..5bbc3ab --- /dev/null +++ b/res/drawable/calc_clear_symbol.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<bitmap xmlns:android="http://schemas.android.com/apk/res/android" + android:src="@drawable/calc_clear_symbol_tintable" /> diff --git a/res/drawable/shadow_bottom.xml b/res/drawable/shadow_bottom.xml new file mode 100644 index 0000000..e07dfdf --- /dev/null +++ b/res/drawable/shadow_bottom.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <gradient + android:angle="90" + android:endColor="#C0000000" + android:startColor="#00000000" /> + +</shape>
\ No newline at end of file diff --git a/res/drawable/shadow_right.xml b/res/drawable/shadow_right.xml new file mode 100644 index 0000000..c842311 --- /dev/null +++ b/res/drawable/shadow_right.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <gradient + android:angle="0" + android:endColor="#33000000" + android:startColor="#00000000" /> + +</shape>
\ No newline at end of file diff --git a/res/drawable/shadow_top.xml b/res/drawable/shadow_top.xml new file mode 100644 index 0000000..fa30d3e --- /dev/null +++ b/res/drawable/shadow_top.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8"?> +<shape xmlns:android="http://schemas.android.com/apk/res/android" > + + <gradient + android:angle="270" + android:endColor="#C0000000" + android:startColor="#00000000" /> + +</shape>
\ No newline at end of file |