summaryrefslogtreecommitdiff
path: root/InCallUI/res/drawable
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-08-29 19:37:04 -0700
committerYorke Lee <yorkelee@google.com>2013-08-29 19:38:57 -0700
commit90995fcb6778a9cb6dc35be12aeb1a5d0dcbb5ae (patch)
tree00bf6da6e8d9f141b921bdec5f3381f9e2857eb9 /InCallUI/res/drawable
parent7569427c703ae89003317ee3e37dfa9e171d8abe (diff)
Allow swapping calls by clicking on secondary call card
Bug: 9679473 Change-Id: I9e25a247c59530d257ece27e62c88329eb5f4f61
Diffstat (limited to 'InCallUI/res/drawable')
-rw-r--r--InCallUI/res/drawable/clickable_dim_effect.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/InCallUI/res/drawable/clickable_dim_effect.xml b/InCallUI/res/drawable/clickable_dim_effect.xml
new file mode 100644
index 000000000..e4b4f6fd6
--- /dev/null
+++ b/InCallUI/res/drawable/clickable_dim_effect.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2012 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.
+-->
+
+<!-- Background drawable used with dim effect for secondary photo. -->
+<selector xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <item android:state_pressed="true" android:state_enabled="true"
+ android:drawable="@drawable/list_pressed_holo_dark" />
+ <item android:drawable="@color/on_hold_dim_effect" />
+
+</selector>