From 316b4713b2f8f26f393ecc4bb4760512a4a9f096 Mon Sep 17 00:00:00 2001 From: Christine Chen Date: Mon, 15 Jul 2013 18:31:22 -0700 Subject: Adds Drag and Drop UI to the Dialer main view. - Adds drag and drop listner. - Changes the FavoritesTileAdapter to use an array stored in cache to populate the view. - Adds animation for drag and drop. - Adds swipe to delete an entry. Change-Id: I0717fb3d256b2ab2353f86a998de07edb24e9b4c --- res/layout/phone_favorite_regular_row_view.xml | 52 +++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 5 deletions(-) (limited to 'res/layout/phone_favorite_regular_row_view.xml') diff --git a/res/layout/phone_favorite_regular_row_view.xml b/res/layout/phone_favorite_regular_row_view.xml index eda5a02c8..532e85854 100644 --- a/res/layout/phone_favorite_regular_row_view.xml +++ b/res/layout/phone_favorite_regular_row_view.xml @@ -18,14 +18,14 @@ + class="com.android.dialer.list.PhoneFavoriteRegularRowView"> + android:layout_height="match_parent" + android:focusable="true" + android:background="?android:attr/selectableItemBackground" > + + + + + + + -- cgit v1.2.3