Click on transparent QC region to dismiss QC
Also: in order to make this work better for both landscape and
portrait, I replaced the transparent margin with a transparent
view.
Change-Id: Iba12f924fde2224bd51b4a6d0bcae16b97b23dda
diff --git a/res/layout/quickcontact_activity.xml b/res/layout/quickcontact_activity.xml
index 8f78811..13b8d9b 100644
--- a/res/layout/quickcontact_activity.xml
+++ b/res/layout/quickcontact_activity.xml
@@ -24,10 +24,14 @@
android:focusableInTouchMode="true"
android:descendantFocusability="afterDescendants" >
+ <View
+ android:layout_width="match_parent"
+ android:layout_height="@dimen/quickcontact_starting_empty_height"
+ android:id="@+id/transparent_view" />
+
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginTop="@dimen/quickcontact_starting_empty_height"
android:background="@color/card_margin_color"
android:id="@+id/toolbar_parent">