Introduce ActionBar in picker screens
This change focuses on phone screens. Tablet UI fix will be
done later.
- show SearchView on the action bar
- show "create new contact" as a menu on the split action bar
- keep "create new contact" button for tablet support.
- a few visual tweaks for phone
Also this removes "show all contacts" item in JoinContactActivity.
Now all contacts are shown by default.
Bug: 5394377
Change-Id: I82e59b374888d522c81cd4957cb3fde286b419f6
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 722fc46..d9482d0 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -274,7 +274,7 @@
android:theme="@style/ContactPickerTheme"
android:launchMode="singleTop"
android:clearTaskOnLaunch="true"
- >
+ android:uiOptions="splitActionBarWhenNarrow">
<intent-filter>
<action android:name="android.intent.action.INSERT_OR_EDIT" />
<category android:name="android.intent.category.DEFAULT" />