From 2826619b274772beebc7369d5dfe616344f74b6f Mon Sep 17 00:00:00 2001 From: Yorke Lee Date: Thu, 1 May 2014 10:05:52 -0700 Subject: Refactor drag and drop to work for entire Dialer layout Add a drag listener to the main dialer layout and manipulate drag events correctly in DragDropController so that drag and drop works throughout the main Dialer layout, rather than just the speed dial fragment. Also shift the remove view into dialtacts_mainlayout so that it can continue receiving drag events. Bug: 14393052 Change-Id: I90c26fee4fe681d0e237aa490185e850628e4cd0 --- res/layout/dialtacts_activity.xml | 51 ++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 22 deletions(-) (limited to 'res') diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml index 2cd796b60..e4e2a238b 100644 --- a/res/layout/dialtacts_activity.xml +++ b/res/layout/dialtacts_activity.xml @@ -46,30 +46,37 @@ android:id="@+id/search_and_remove_view_container" android:visibility="gone" > - - - - + + + + + +