From c6801eb828627c37b8992584767c095dfe11df62 Mon Sep 17 00:00:00 2001 From: Jin Cao Date: Tue, 12 Aug 2014 18:16:57 -0700 Subject: Quantum search - version 1 I apologize in advance for this huge CL. - New icons (yay!) - Abandon framework search and handle in-app search functionality ourselves. This is made possible because we use Toolbar and can position any custom view on top. - Remove all previous search related attributes, including search providers, searchable, search authority, default search menu item layout, etc. - Cleaned up the recent history provider to contain only the functionalities we need - query, add, and delete. Instead of using the framework to add recent queries, we directly insert into our database. Since the provider no longer needs to extend ContentProvider, removed some unnecessary callbacks such as onCreate. - Custom quantum search views: - Top search bar, this is inserted in a FrameLayout on top of Toolbar. The search bar interacts with the suggestion list and AbstractActivityController via the QuantumSearchViewController interface. - Suggestions list, this is inserted in the FrameLayout that typically contains the main content pane for either one-pane or two-pane layouts. Again, this interacts with the action bar via the controller. - Voice search, this is simply an implicit intent that converts speech to text. b/16518233 Change-Id: I589c40e6c6e3d8c719856b735d0c53e8db986e65 --- AndroidManifest.xml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'AndroidManifest.xml') diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a8dd8d764..3c5b30e2d 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -43,7 +43,8 @@ android:label="@string/app_name" android:name=".ui.MailActivity" android:launchMode="singleTop" - android:theme="@style/MailActivityTheme" > + android:theme="@style/MailActivityTheme" + android:windowSoftInputMode="stateHidden"> @@ -58,7 +59,6 @@ - @@ -159,13 +159,6 @@ - - - -- cgit v1.2.3