1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2011 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15 --> 16 17 <LinearLayout 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 android:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:paddingTop="32dip" 22 android:paddingLeft="@dimen/group_editor_side_padding" 23 android:paddingRight="@dimen/group_editor_side_padding" 24 android:paddingStart="@dimen/group_editor_side_padding" 25 android:paddingEnd="@dimen/group_editor_side_padding" 26 android:orientation="horizontal" 27 android:background="@color/background_primary"> 28 29 <LinearLayout 30 android:layout_width="0dip" 31 android:layout_height="match_parent" 32 android:layout_weight="3" 33 android:layout_marginRight="30dip" 34 android:layout_marginEnd="30dip" 35 android:orientation="vertical"> 36 37 <include 38 android:id="@+id/account_header" 39 layout="@layout/editor_account_header"/> 40 41 <EditText 42 android:id="@+id/group_name" 43 android:layout_width="match_parent" 44 android:layout_height="wrap_content" 45 android:minHeight="48dip" 46 android:textAppearance="?android:attr/textAppearanceMedium" 47 android:inputType="textCapWords" 48 android:hint="@string/group_name_hint" 49 android:paddingLeft="16dip" 50 android:paddingStart="16dip"/> 51 52 </LinearLayout> 53 54 <LinearLayout 55 android:id="@+id/group_members" 56 android:layout_width="0dip" 57 android:layout_height="match_parent" 58 android:layout_weight="2" 59 android:orientation="vertical"> 60 61 <include 62 android:id="@+id/spacer" 63 layout="@layout/editor_account_header" 64 android:visibility="invisible"/> 65 66 <include 67 layout="@layout/group_editor_autocomplete_view" 68 android:id="@+id/add_member_field"/> 69 70 <include 71 layout="@layout/group_editor_existing_member_list" 72 android:id="@android:id/list"/> 73 74 </LinearLayout> 75 76 </LinearLayout> 77