summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorChris Craik <ccraik@google.com>2014-07-18 11:17:12 -0700
committerChris Craik <ccraik@google.com>2014-07-18 12:10:50 -0700
commit0d8019cf7cb048e5da044559460e08c5284d8f48 (patch)
tree87a1ad23f312b32bf74f9ba86b96b57e72671af4 /res/layout
parente06611fa108e7e9aa1fe23f14c3433a80c3dcb17 (diff)
Replace shadow workaround with a different one
bug:15023558 Change-Id: Ie85b281ff77694874953ff88297e0d034560c82b
Diffstat (limited to 'res/layout')
-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. -->