summaryrefslogtreecommitdiff
path: root/res/layout/blocked_number_item.xml
diff options
context:
space:
mode:
authorAndrew Lee <anwlee@google.com>2015-10-21 01:27:04 -0700
committerAndrew Lee <anwlee@google.com>2015-10-21 01:27:04 -0700
commitd625d28ec6cf22c128d0ef0b8e64a9fff4b64aec (patch)
tree107564f429b2d5211cca417d1dba9f5ee5f077c2 /res/layout/blocked_number_item.xml
parent9af1b36e999036f4045b07285962cfdb7bfbcca7 (diff)
Fix scrolling in blocked numbers list.
+ Add elements as header, so they scroll with the list. + Shuffle around some layouts to make this work correctly. + Replace default ListView divider with custom drawable, to achieve the desired effect of removing the divider on the first list item. + Override BlockedNumberAdapter to never report itself as empty. Otherwise, the header will disappear. + Tweak some padding. Bug: 25134186 Change-Id: I07711437fea2d3042d3987983667ab5316d51fcc
Diffstat (limited to 'res/layout/blocked_number_item.xml')
-rw-r--r--res/layout/blocked_number_item.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/blocked_number_item.xml b/res/layout/blocked_number_item.xml
index 6c87533f1..79ca42e14 100644
--- a/res/layout/blocked_number_item.xml
+++ b/res/layout/blocked_number_item.xml
@@ -25,7 +25,7 @@
android:gravity="center_vertical"
android:orientation="horizontal"
android:focusable="true"
- android:background="@color/background_dialer_white">
+ android:background="@drawable/blocked_number_item_background">
<QuickContactBadge
android:id="@+id/quick_contact_photo"