Address various groups TODOs and small bug fixes
* Style the group name edit dialog with standard min
width style. Also restrict names to be a single
line and add a hint to the EditText. Finally,
bring up the keyboard when the dialog is first created.
* Change the "edit" group menu option name to "rename",
remove the icon, and keep it under the overflow.
* Sort groups consistently on the main list and contact
editor spinnner.
* Don't load deleted groups. We don't need to handle
deleted groups in the members loader because the metadata
loader omits them in the selection clause.
* Show a toast after deleting a group. Also don't prompt
for confirmation when deleting if the group is empty.
* Remove some unnecessary header binding in the group member
list adapter.
Bug 28955365
Bug 28936603
Bug 18641067
Change-Id: Icec1e1d3bbafb7e1e94a7e841860836d256177f1
diff --git a/res/layout/group_name_edit_dialog.xml b/res/layout/group_name_edit_dialog.xml
index 2858388..34af7ca 100644
--- a/res/layout/group_name_edit_dialog.xml
+++ b/res/layout/group_name_edit_dialog.xml
@@ -30,6 +30,8 @@
android:layout_marginLeft="4dp"
android:layout_marginRight="4dp"
android:layout_marginTop="16dp"
+ android:hint="@string/group_name_dialog_hint"
android:inputType="textCapWords|textNoSuggestions"
+ android:singleLine="true"
android:maxLength="40"/>
</LinearLayout>
\ No newline at end of file