summaryrefslogtreecommitdiffstats
path: root/res/layout/group_editor_view.xml
diff options
context:
space:
mode:
authorKatherine Kuan <katherinekuan@google.com>2011-07-25 17:22:22 -0700
committerKatherine Kuan <katherinekuan@google.com>2011-07-25 17:52:38 -0700
commitffb45de77c1c51214b5baa0eb6f59a7801cfcbaf (patch)
treebfe9119f2f8065f2b93afa00a7a931ef06b03974 /res/layout/group_editor_view.xml
parent534bbe20a73efa699232d74588f8285e432ef430 (diff)
downloadandroid_packages_apps_Contacts-ffb45de77c1c51214b5baa0eb6f59a7801cfcbaf.tar.gz
android_packages_apps_Contacts-ffb45de77c1c51214b5baa0eb6f59a7801cfcbaf.tar.bz2
android_packages_apps_Contacts-ffb45de77c1c51214b5baa0eb6f59a7801cfcbaf.zip
Non-editable group page
- If the group membership cannot be edited, then show a warning message, gray out the group name, and remove the "delete member" buttons. Bug: 5070780 Change-Id: I9213c7eff2237d153c60bb8842515fe404053701
Diffstat (limited to 'res/layout/group_editor_view.xml')
-rw-r--r--res/layout/group_editor_view.xml45
1 files changed, 45 insertions, 0 deletions
diff --git a/res/layout/group_editor_view.xml b/res/layout/group_editor_view.xml
new file mode 100644
index 000000000..59f298623
--- /dev/null
+++ b/res/layout/group_editor_view.xml
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2011 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<LinearLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ android:orientation="vertical" >
+
+ <include
+ android:id="@+id/account_header"
+ layout="@layout/editor_account_header"/>
+
+ <EditText
+ android:id="@+id/group_name"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textStyle="bold"
+ android:inputType="textCapWords"
+ android:hint="@string/group_name_hint"
+ android:layout_marginBottom="5dip"/>
+
+ <include
+ layout="@layout/group_editor_autocomplete_view"
+ android:id="@+id/add_member_field"/>
+
+ <include
+ layout="@layout/group_editor_existing_member_list"
+ android:id="@android:id/list"/>
+
+</LinearLayout>