summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorYorke Lee <yorkelee@google.com>2014-05-07 11:00:53 -0700
committerYorke Lee <yorkelee@google.com>2014-05-07 11:04:20 -0700
commitf66cc0403faab0a31ccdb2c78e0dad5be11218f5 (patch)
treebef16cedc7fae158a9aa66ae8dca163c6ff98f0d /res
parent861fd2a2737051843582c4261567342016853868 (diff)
Make drag shadow work across entire layout
Move drag shadow view into main layout so that it can be drawn over all other views. Also offset it accordingly based on its parent's X/Y coordinates Bug: 14393052 Change-Id: I957469cf505d30812b539517d2aeab3f72a733ca
Diffstat (limited to 'res')
-rw-r--r--res/layout/dialtacts_activity.xml11
-rw-r--r--res/layout/phone_favorites_fragment.xml7
2 files changed, 11 insertions, 7 deletions
diff --git a/res/layout/dialtacts_activity.xml b/res/layout/dialtacts_activity.xml
index e4e2a238b..90b66fd76 100644
--- a/res/layout/dialtacts_activity.xml
+++ b/res/layout/dialtacts_activity.xml
@@ -102,4 +102,15 @@
android:src="@drawable/ic_dial_action_call"
android:visibility="gone" />
</FrameLayout>
+ <!-- Host container for the contact tile drag shadow -->
+ <FrameLayout
+ android:layout_height="match_parent"
+ android:layout_width="match_parent">
+ <ImageView
+ android:id="@+id/contact_tile_drag_shadow_overlay"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:visibility="gone"
+ android:importantForAccessibility="no" />
+ </FrameLayout>
</RelativeLayout>
diff --git a/res/layout/phone_favorites_fragment.xml b/res/layout/phone_favorites_fragment.xml
index 89a9f73bc..76e5e9838 100644
--- a/res/layout/phone_favorites_fragment.xml
+++ b/res/layout/phone_favorites_fragment.xml
@@ -40,13 +40,6 @@
android:clipToPadding="false"
android:fadingEdge="none"
android:divider="@null" />
-
- <ImageView
- android:id="@+id/contact_tile_drag_shadow_overlay"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:visibility="gone"
- android:importantForAccessibility="no" />
</FrameLayout>
<include