blob: 8c1bef4a95930e61d8d41ea86c852e3b3684b728 [file] [log] [blame]
Daniel Lehmann4cd94412010-04-08 16:44:36 -07001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2009 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
Daniel Lehmannc2687c32010-04-19 18:20:44 -070017<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
Daniel Lehmann18f104f2010-05-07 15:41:11 -070018 android:id="@+id/contact_detail"
Daniel Lehmann4cd94412010-04-08 16:44:36 -070019 android:orientation="vertical"
20 android:layout_width="match_parent"
21 android:layout_height="match_parent">
22
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070023 <com.android.contacts.views.detail.ContactDetailHeaderView
Daniel Lehmann4cd94412010-04-08 16:44:36 -070024 android:id="@+id/contact_header_widget"
25 android:layout_width="match_parent"
26 android:layout_height="wrap_content"/>
27
28 <ListView android:id="@android:id/list"
29 android:layout_width="match_parent"
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070030 android:layout_height="0px"
31 android:layout_weight="1"
Daniel Lehmann4cd94412010-04-08 16:44:36 -070032 android:background="@drawable/title_bar_shadow"
33 />
34
35 <ScrollView android:id="@android:id/empty"
36 android:layout_width="match_parent"
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070037 android:layout_height="0px"
38 android:layout_weight="1"
39 android:visibility="gone"
Daniel Lehmann4cd94412010-04-08 16:44:36 -070040 >
41 <TextView android:id="@+id/emptyText"
42 android:layout_width="match_parent"
43 android:layout_height="wrap_content"
44 android:text="@string/no_contact_details"
45 android:textSize="20sp"
46 android:textColor="?android:attr/textColorSecondary"
47 android:paddingLeft="10dip"
48 android:paddingRight="10dip"
49 android:paddingTop="10dip"
50 android:lineSpacingMultiplier="0.92"
51 />
52 </ScrollView>
Daniel Lehmannc2687c32010-04-19 18:20:44 -070053</LinearLayout>
Daniel Lehmann4cd94412010-04-08 16:44:36 -070054