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 18 <LinearLayout 19 xmlns:android="http://schemas.android.com/apk/res/android" 20 android:id="@+id/group_detail" 21 android:orientation="vertical" 22 android:layout_width="match_parent" 23 android:layout_height="match_parent" 24 android:background="@drawable/panel_content" 25 android:paddingLeft="@dimen/group_detail_border_padding" 26 android:paddingRight="@dimen/group_detail_border_padding"> 27 28 <!-- Static header containing the group title, size, and group source (if applicable) --> 29 <LinearLayout 30 android:layout_width="match_parent" 31 android:layout_height="wrap_content" 32 android:orientation="horizontal" > 33 34 <LinearLayout 35 android:layout_width="0dip" 36 android:layout_height="wrap_content" 37 android:layout_weight="1" 38 android:paddingLeft="8dip" 39 android:orientation="vertical" > 40 41 <TextView 42 android:id="@+id/group_title" 43 android:layout_width="wrap_content" 44 android:layout_height="wrap_content" 45 android:singleLine="true" 46 android:ellipsize="end" 47 android:paddingTop="12dip" 48 android:textAppearance="?android:attr/textAppearanceLarge" 49 android:textStyle="bold" /> 50 51 <TextView 52 android:id="@+id/group_size" 53 android:layout_width="wrap_content" 54 android:layout_height="wrap_content" 55 android:singleLine="true" 56 android:ellipsize="end" 57 android:paddingBottom="12dip" 58 android:textAppearance="@style/GroupMembershipSizeTextAppearance" 59 android:textColor="?android:attr/textColorSecondary" /> 60 61 </LinearLayout> 62 63 <FrameLayout 64 android:id="@+id/group_source_view_container" 65 android:layout_width="wrap_content" 66 android:layout_height="match_parent" /> 67 68 </LinearLayout> 69 70 <View 71 android:layout_width="match_parent" 72 android:layout_height="1dip" 73 android:background="@color/people_app_theme_color" /> 74 75 <!-- List of group members --> 76 <ListView android:id="@android:id/list" 77 android:layout_width="match_parent" 78 android:layout_height="match_parent" 79 android:cacheColorHint="@android:color/black" 80 android:fadingEdge="none" 81 android:divider="@null" /> 82 83 <include 84 layout="@layout/group_detail_fragment_empty_view"/> 85 86 </LinearLayout>