blob: 4d53310fe23dfce0cc994c5aebd7ec329fc051ca [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"
Frank Sposaro3d5c5de2011-08-18 11:42:05 -070027 android:fadingEdge="none"
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"
Frank Sposaro3d5c5de2011-08-18 11:42:05 -070034 android:fadingEdge="none"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070035 android:visibility="gone">
36
Daniel Lehmann4cd94412010-04-08 16:44:36 -070037 <TextView android:id="@+id/emptyText"
38 android:layout_width="match_parent"
39 android:layout_height="wrap_content"
40 android:text="@string/no_contact_details"
41 android:textSize="20sp"
42 android:textColor="?android:attr/textColorSecondary"
43 android:paddingLeft="10dip"
44 android:paddingRight="10dip"
Fabrice Di Meglio7d3b9152013-04-04 19:49:34 -070045 android:paddingStart="10dip"
46 android:paddingEnd="10dip"
Daniel Lehmann4cd94412010-04-08 16:44:36 -070047 android:paddingTop="10dip"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070048 android:lineSpacingMultiplier="0.92"/>
49
Daniel Lehmann4cd94412010-04-08 16:44:36 -070050 </ScrollView>
Daniel Lehmann18db43d2010-09-30 18:16:59 -070051
Daniel Lehmann7ed92ee2011-07-14 22:05:03 -070052 <!-- "QuickFix"- button (Copy to local contact, add to group) -->
Daniel Lehmann18db43d2010-09-30 18:16:59 -070053 <Button
Daniel Lehmann7ed92ee2011-07-14 22:05:03 -070054 android:id="@+id/contact_quick_fix"
Daniel Lehmann18db43d2010-09-30 18:16:59 -070055 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
Daniel Lehmann18db43d2010-09-30 18:16:59 -070057 android:visibility="gone"
Daisuke Miyakawa72a308b2011-09-06 17:47:04 -070058 android:layout_gravity="center"
Daniel Lehmann18db43d2010-09-30 18:16:59 -070059 android:layout_marginTop="20dip"
60 android:layout_marginBottom="20dip" />
Daniel Lehmannc2687c32010-04-19 18:20:44 -070061</LinearLayout>
Daniel Lehmann4cd94412010-04-08 16:44:36 -070062