summaryrefslogtreecommitdiff
path: root/res/drawable/recent_lists_footer_background.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2014-05-21 18:05:56 -0700
committerAndrew Lee <anwlee@google.com>2014-05-22 21:13:03 +0000
commit13f6fd048f0cdc26e9dc6b78a02515e72fff2e27 (patch)
treec6903644ce699283ac922dc0161fe4156bef25f3 /res/drawable/recent_lists_footer_background.xml
parent91b50b81967409ef25b3b1893f2a63c0c5355c53 (diff)
DO NOT MERGE. Tidy up call log shadow/touch interactions.
- Constrain the recents list footer ripple to its dimensions. - Eliminate bottom margin on the call log list items. - Changed translationZ on expand to apply to the call log list item instead of just its primary action view. - Adjust the outline clipping so that a shadow doesn't appear under the day group header, now that the translation is applied to the entire list item. - Instantiated a number of fixed property values in onCreate() in the CallLogFragment, instead of whenever they're needed. Bug: 15165669 Change-Id: I5ed81ae49fb0c3f6eed360f247c1fd67278a628c (cherry picked from commit 6e765f9a71b450809c4916a5d5562cdc1372a39a)
Diffstat (limited to 'res/drawable/recent_lists_footer_background.xml')
-rw-r--r--res/drawable/recent_lists_footer_background.xml23
1 files changed, 23 insertions, 0 deletions
diff --git a/res/drawable/recent_lists_footer_background.xml b/res/drawable/recent_lists_footer_background.xml
new file mode 100644
index 000000000..566e353b2
--- /dev/null
+++ b/res/drawable/recent_lists_footer_background.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ ~ Copyright (C) 2014 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:tint="?android:attr/colorControlHighlight"
+ android:pinned="false">
+ <!-- Mask to constrain the ripple to the bounds of the view. -->
+ <item android:drawable="@android:color/transparent" />
+</ripple>