• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
29    <!--
30      Container for the "About" fragment on the contact card for a contact
31      with social updates. This view ID must match with a view ID in the layout
32      that is used after an orientation change.
33    -->
34    <FrameLayout
35        android:id="@+id/about_fragment_container"
36        android:layout_width="0dip"
37        android:layout_height="match_parent"
38        android:layout_weight="3" />
39
40    <!-- Vertical divider -->
41    <View
42        android:layout_width="2dip"
43        android:layout_height="match_parent"
44        android:background="?android:attr/listDivider"
45        />
46
47    <!--
48      Container for the "Updates" fragment on the contact card for a contact
49      with social updates. This view ID must match with a view ID in the layout
50      that is used after an orientation change.
51    -->
52    <FrameLayout
53        android:id="@+id/updates_fragment_container"
54        android:layout_width="0dip"
55        android:layout_weight="2"
56        android:layout_height="match_parent" />
57
58</LinearLayout>