Next pass over the contact search UI.
- Search is now a separate activity
- Search bar has animations to make it slide in from the top
- New search plate resources
- Showing a magnifying glass on the right hand side of the search field
- Showing pictures and QuickContact in search result UI
- Search UI now start with no results instead of all visible contacts
- Translucent background for search UI when no filter specified
- Search can now be launched from most activities in the app
- Allowing search in pickers
Bug: 2447965
Change-Id: Ie35ce6df5e850d9c9380a25ed3970e114e9d6929
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index e924fd8..7cac590 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -135,10 +135,6 @@
<data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
</intent-filter>
- <intent-filter>
- <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
- <category android:name="android.intent.category.DEFAULT" />
- </intent-filter>
</activity-alias>
<!-- An empty activity that presents the DialtactActivity's Favorites tab -->
@@ -249,6 +245,17 @@
</intent-filter>
</activity>
+ <!-- The contacts search/filter UI -->
+ <activity android:name="ContactsListActivity$ContactsSearchActivity"
+ android:theme="@style/ContactsSearchTheme"
+ android:windowSoftInputMode="stateAlwaysVisible|adjustPan"
+ >
+ <intent-filter>
+ <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <data android:mimeType="vnd.android.cursor.dir/contact" android:host="com.android.contacts" />
+ </intent-filter>
+ </activity>
<!-- Used to select display and sync groups -->
<activity android:name=".ui.ContactsPreferencesActivity" android:label="@string/displayGroups" />