From 476493bcc3b2d6cf32db62bf78714aa0f2747108 Mon Sep 17 00:00:00 2001 From: Cristina Stancu Date: Wed, 7 Aug 2013 17:20:14 +0100 Subject: [PATCH] Get the view to be used as qsb bar from the launcher directly. This will allow more control over the qsb visuals and behaviour in GEL. Depends on ag/339203 Future changes: - revert ag/344333 since we won't need the normal qsb to support hotword anymore - Dragging icons over the Drop target bar (to remove/uninstall them or get App info) doesn't currently work in GEL. There might be future changes needed to fix that. Change-Id: Ic498f0abee5ad99ef1644ff94f174b61f8e1f5f0 --- res/layout/qsb_bar.xml | 7 ------- .../launcher3/DrawableStateProxyView.java | 6 ++++-- src/com/android/launcher3/DynamicGrid.java | 2 +- src/com/android/launcher3/Launcher.java | 18 +++++++++++++----- .../android/launcher3/SearchDropTargetBar.java | 15 ++++++++++----- 5 files changed, 28 insertions(+), 20 deletions(-) diff --git a/res/layout/qsb_bar.xml b/res/layout/qsb_bar.xml index f0e3bbfce0..030acf6be4 100644 --- a/res/layout/qsb_bar.xml +++ b/res/layout/qsb_bar.xml @@ -20,13 +20,6 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - -