From 37920966888587900885c88a63785cb16567684c Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Thu, 28 Sep 2017 13:43:24 -0700 Subject: Allowing the widgetBottomSheet to be dragged even when the touch is started from outside the panel Removing various instanceOf checks in onNewIntent and onBackPress and moving all the corresponding logging in the FloatingView This simplifies handling of panel specific log and avoids missing a particular panel type in the if-else statement. Bug: 64751884 Bug: 64751923 Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00 --- res/layout/app_widget_resize_frame.xml | 79 ++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 37 deletions(-) (limited to 'res') diff --git a/res/layout/app_widget_resize_frame.xml b/res/layout/app_widget_resize_frame.xml index 874fecccf..12561b634 100644 --- a/res/layout/app_widget_resize_frame.xml +++ b/res/layout/app_widget_resize_frame.xml @@ -21,42 +21,47 @@ android:background="@drawable/widget_resize_shadow" android:foreground="@drawable/widget_resize_frame" android:foregroundTint="?attr/workspaceTextColor" - android:padding="0dp" > - - - - - - - - - - - - + android:padding="0dp"> + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.2.3