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 Two-column layout for a contact with social updates. If the contact does not 19 have social updates, then the second fragment container will just be hidden. 20 --> 21 22 <LinearLayout 23 xmlns:android="http://schemas.android.com/apk/res/android" 24 android:layout_width="match_parent" 25 android:layout_height="match_parent" 26 android:scrollbars="none" 27 android:orientation="horizontal" 28 android:baselineAligned="false"> 29 30 <!-- 31 Container for the "About" fragment on the contact card for a contact 32 with social updates. This view ID must match with a view ID in the layout 33 that is used after an orientation change. 34 --> 35 <FrameLayout 36 android:id="@+id/about_fragment_container" 37 android:layout_width="0dip" 38 android:layout_height="match_parent" 39 android:layout_weight="3" /> 40 41 <!-- Vertical divider --> 42 <View 43 android:layout_width="2dip" 44 android:layout_height="match_parent" 45 android:background="?android:attr/listDivider" 46 /> 47 48 <!-- 49 Container for the "Updates" fragment on the contact card for a contact 50 with social updates. This view ID must match with a view ID in the layout 51 that is used after an orientation change. 52 --> 53 <FrameLayout 54 android:id="@+id/updates_fragment_container" 55 android:layout_width="0dip" 56 android:layout_weight="2" 57 android:layout_height="match_parent" 58 android:visibility="gone" /> 59 60 </LinearLayout> 61