summaryrefslogtreecommitdiffstats
path: root/res/drawable/pad_button_inverse_background.xml
diff options
context:
space:
mode:
authorJustin Klaassen <justinklaassen@google.com>2015-06-10 01:04:28 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-06-10 01:04:28 +0000
commit2aa88db31bf10c7e66296ed32ec65552319b84b8 (patch)
tree45ccb47696a8c6b59c6d303423347beda21e9419 /res/drawable/pad_button_inverse_background.xml
parent1290f3286f735a1c17892fda20f07a3a7ee4ae2b (diff)
parent7c07c19e9c81569362233dfd0b9aa12536c198cb (diff)
downloadandroid_packages_apps_ExactCalculator-2aa88db31bf10c7e66296ed32ec65552319b84b8.tar.gz
android_packages_apps_ExactCalculator-2aa88db31bf10c7e66296ed32ec65552319b84b8.tar.bz2
android_packages_apps_ExactCalculator-2aa88db31bf10c7e66296ed32ec65552319b84b8.zip
am 7c07c19e: Merge "Show "INV" button\'s selected state" into mnc-dev
* commit '7c07c19e9c81569362233dfd0b9aa12536c198cb': Show "INV" button's selected state
Diffstat (limited to 'res/drawable/pad_button_inverse_background.xml')
-rw-r--r--res/drawable/pad_button_inverse_background.xml38
1 files changed, 38 insertions, 0 deletions
diff --git a/res/drawable/pad_button_inverse_background.xml b/res/drawable/pad_button_inverse_background.xml
new file mode 100644
index 0000000..ff0b2ae
--- /dev/null
+++ b/res/drawable/pad_button_inverse_background.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2015 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.
+ -->
+
+<ripple xmlns:android="http://schemas.android.com/apk/res/android"
+ android:color="@color/pad_button_advanced_ripple_color">
+ <item android:id="@android:id/mask">
+ <shape android:shape="rectangle">
+ <corners android:radius="4dip" />
+ <solid android:color="@android:color/white" />
+ </shape>
+ </item>
+ <item>
+ <selector
+ android:enterFadeDuration="@android:integer/config_longAnimTime"
+ android:exitFadeDuration="@android:integer/config_longAnimTime">
+ <item android:state_selected="true">
+ <shape android:shape="rectangle">
+ <corners android:radius="4dip" />
+ <solid android:color="@color/pad_button_advanced_ripple_color" />
+ </shape>
+ </item>
+ </selector>
+ </item>
+</ripple>