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