blob: a7b509db3d94e97792f64a170a9dd82b2ae43d3e [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 Kuanb678c4a2011-05-05 16:37:06 -070028 android:background="@color/background_primary"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070029 android:divider="@null"/>
Daniel Lehmann440ee9a2010-09-03 15:18:19 -070030
Daniel Lehmann4cd94412010-04-08 16:44:36 -070031 <ScrollView android:id="@android:id/empty"
32 android:layout_width="match_parent"
Daniel Lehmanncdef2b62010-06-06 18:25:49 -070033 android:layout_height="0px"
34 android:layout_weight="1"
Frank Sposaro3d5c5de2011-08-18 11:42:05 -070035 android:fadingEdge="none"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070036 android:visibility="gone">
37
Daniel Lehmann4cd94412010-04-08 16:44:36 -070038 <TextView android:id="@+id/emptyText"
39 android:layout_width="match_parent"
40 android:layout_height="wrap_content"
41 android:text="@string/no_contact_details"
42 android:textSize="20sp"
43 android:textColor="?android:attr/textColorSecondary"
44 android:paddingLeft="10dip"
45 android:paddingRight="10dip"
46 android:paddingTop="10dip"
Katherine Kuan2eb969c2011-06-28 11:43:15 -070047 android:lineSpacingMultiplier="0.92"/>
48
Daniel Lehmann4cd94412010-04-08 16:44:36 -070049 </ScrollView>
Daniel Lehmann18db43d2010-09-30 18:16:59 -070050
Daniel Lehmann7ed92ee2011-07-14 22:05:03 -070051 <!-- "QuickFix"- button (Copy to local contact, add to group) -->
Daniel Lehmann18db43d2010-09-30 18:16:59 -070052 <Button
Daniel Lehmann7ed92ee2011-07-14 22:05:03 -070053 android:id="@+id/contact_quick_fix"
Daniel Lehmann18db43d2010-09-30 18:16:59 -070054 android:layout_width="wrap_content"
55 android:layout_height="wrap_content"
Daniel Lehmann18db43d2010-09-30 18:16:59 -070056 android:visibility="gone"
57 android:layout_gravity="right"
58 android:layout_marginRight="40dip"
59 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