blob: d16771c2c88d437427d6ee0a0ff0fb11256961d9 [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
Daniel Lehmann440ee9a2010-09-03 15:18:19 -07007
Daniel Lehmann4cd94412010-04-08 16:44:36 -07008 http://www.apache.org/licenses/LICENSE-2.0
Daniel Lehmann440ee9a2010-09-03 15:18:19 -07009
Daniel Lehmann4cd94412010-04-08 16:44:36 -070010 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"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070018 android:id="@+id/contact_detail_about_fragment"
Daniel Lehmann4cd94412010-04-08 16:44:36 -070019 android:orientation="vertical"
20 android:layout_width="match_parent"
21 android:layout_height="match_parent">
Daniel Lehmann5ad20a62010-11-08 16:24:50 -080022
Daniel Lehmann4cd94412010-04-08 16:44:36 -070023 <ListView android:id="@android:id/list"
24 android:layout_width="match_parent"
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070025 android:layout_height="0px"
26 android:layout_weight="1"
Katherine Kuanb678c4a2011-05-05 16:37:06 -070027 android:background="@color/background_primary"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070028 android:divider="@null"/>
Daniel Lehmann440ee9a2010-09-03 15:18:19 -070029
Daniel Lehmann4cd94412010-04-08 16:44:36 -070030 <ScrollView android:id="@android:id/empty"
31 android:layout_width="match_parent"
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070032 android:layout_height="0px"
33 android:layout_weight="1"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070034 android:visibility="gone">
35
Daniel Lehmann4cd94412010-04-08 16:44:36 -070036 <TextView android:id="@+id/emptyText"
37 android:layout_width="match_parent"
38 android:layout_height="wrap_content"
39 android:text="@string/no_contact_details"
40 android:textSize="20sp"
41 android:textColor="?android:attr/textColorSecondary"
42 android:paddingLeft="10dip"
43 android:paddingRight="10dip"
44 android:paddingTop="10dip"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070045 android:lineSpacingMultiplier="0.92"/>
46
Daniel Lehmann4cd94412010-04-08 16:44:36 -070047 </ScrollView>
Daniel Lehmann18db43d2010-09-30 18:16:59 -070048
49 <!-- "Copy to my contacts"- button -->
50 <Button
51 android:id="@+id/copyLocal"
52 android:layout_width="wrap_content"
53 android:layout_height="wrap_content"
54 android:text="@string/menu_copyContact"
55 android:visibility="gone"
56 android:layout_gravity="right"
57 android:layout_marginRight="40dip"
58 android:layout_marginTop="20dip"
59 android:layout_marginBottom="20dip" />
Daniel Lehmannc2687c32010-04-19 18:20:44 -070060</LinearLayout>
Daniel Lehmann4cd94412010-04-08 16:44:36 -070061