summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-07-18 19:21:15 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-07-18 19:21:15 +0000
commitd24a12a197708f9aae844dea08af38d30a2c77c4 (patch)
tree2bd9de4639849b983578140b4b793efb653c9340 /res
parenta12e7869f9aa965764cbda142420586ea28747bc (diff)
parent0d8019cf7cb048e5da044559460e08c5284d8f48 (diff)
am 0d8019cf: Replace shadow workaround with a different one
* commit '0d8019cf7cb048e5da044559460e08c5284d8f48': Replace shadow workaround with a different one
Diffstat (limited to 'res')
-rw-r--r--res/layout/call_log_fragment.xml5
-rw-r--r--res/layout/call_log_list_item.xml3
2 files changed, 4 insertions, 4 deletions
diff --git a/res/layout/call_log_fragment.xml b/res/layout/call_log_fragment.xml
index bb50730e8..74c630959 100644
--- a/res/layout/call_log_fragment.xml
+++ b/res/layout/call_log_fragment.xml
@@ -61,8 +61,8 @@
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
- <!-- clipChildren=true is required to ensure shadows on elevated call log entries are not
- clipped.-->
+ <!-- clipChildren=false is required to ensure shadows drawn
+ within list items aren't clipped by the list item bounds. -->
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -71,6 +71,7 @@
android:background="@color/background_dialer_list_items"
android:divider="@null"
android:nestedScrollingEnabled="true"
+ android:clipChildren="false"
/>
<include
diff --git a/res/layout/call_log_list_item.xml b/res/layout/call_log_list_item.xml
index 0f64e8b0a..193859273 100644
--- a/res/layout/call_log_list_item.xml
+++ b/res/layout/call_log_list_item.xml
@@ -19,8 +19,7 @@
android:id="@+id/call_log_list_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="vertical"
- android:background="@color/background_dialer_list_items" >
+ android:orientation="vertical">
<!-- Day group heading. Used to show a "today", "yesterday", "last week" or "other" heading
above a group of call log entries. -->