summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2013-09-30 16:40:17 -0700
committerYorke Lee <yorkelee@google.com>2013-09-30 17:28:04 -0700
commit090ccc50ee6d6895db77ffc4afcf7dd66f30597a (patch)
tree88764dfa4cd3eee039f92486f35a260c43c77674 /res
parent02bd6dfd37763a21d1a47a24579070f21c9ffc88 (diff)
Fix flicker when long pressing to drag and drop
Initial creation of drag shadow now uses the same layout logic as drag hovering so that the shadow does not jump upon first creation. Removed setPressed from onLongClick listener to avoid toggling of pressed state when drag was started. Bug: 10991974 Change-Id: I186cd62060e3a79913aa89fb7af989f3497e0b10
Diffstat (limited to 'res')
-rw-r--r--res/layout/phone_favorite_regular_row_view.xml3
1 files changed, 1 insertions, 2 deletions
diff --git a/res/layout/phone_favorite_regular_row_view.xml b/res/layout/phone_favorite_regular_row_view.xml
index 2e4dde217..a90117f10 100644
--- a/res/layout/phone_favorite_regular_row_view.xml
+++ b/res/layout/phone_favorite_regular_row_view.xml
@@ -24,8 +24,7 @@
android:id="@+id/contact_favorite_card"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:focusable="true"
- android:background="?android:attr/selectableItemBackground" >
+ android:focusable="true">
<com.android.contacts.common.widget.LayoutSuppressingQuickContactBadge
android:id="@+id/contact_tile_quick"