Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 1 | <?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 Lehmann | 440ee9a | 2010-09-03 15:18:19 -0700 | [diff] [blame] | 7 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Daniel Lehmann | 440ee9a | 2010-09-03 15:18:19 -0700 | [diff] [blame] | 9 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 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 Lehmann | c2687c3 | 2010-04-19 18:20:44 -0700 | [diff] [blame] | 17 | <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
Katherine Kuan | 2eb969c | 2011-06-28 11:43:15 -0700 | [diff] [blame] | 18 | android:id="@+id/contact_detail_about_fragment" |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 19 | android:orientation="vertical" |
| 20 | android:layout_width="match_parent" |
| 21 | android:layout_height="match_parent"> |
Daniel Lehmann | 5ad20a6 | 2010-11-08 16:24:50 -0800 | [diff] [blame] | 22 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 23 | <ListView android:id="@android:id/list" |
| 24 | android:layout_width="match_parent" |
Daniel Lehmann | cdef2b6 | 2010-06-06 18:25:49 -0700 | [diff] [blame] | 25 | android:layout_height="0px" |
| 26 | android:layout_weight="1" |
Frank Sposaro | 3d5c5de | 2011-08-18 11:42:05 -0700 | [diff] [blame] | 27 | android:fadingEdge="none" |
Katherine Kuan | 2eb969c | 2011-06-28 11:43:15 -0700 | [diff] [blame] | 28 | android:divider="@null"/> |
Daniel Lehmann | 440ee9a | 2010-09-03 15:18:19 -0700 | [diff] [blame] | 29 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 30 | <ScrollView android:id="@android:id/empty" |
| 31 | android:layout_width="match_parent" |
Daniel Lehmann | cdef2b6 | 2010-06-06 18:25:49 -0700 | [diff] [blame] | 32 | android:layout_height="0px" |
| 33 | android:layout_weight="1" |
Frank Sposaro | 3d5c5de | 2011-08-18 11:42:05 -0700 | [diff] [blame] | 34 | android:fadingEdge="none" |
Katherine Kuan | 2eb969c | 2011-06-28 11:43:15 -0700 | [diff] [blame] | 35 | android:visibility="gone"> |
| 36 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 37 | <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 Meglio | 7d3b915 | 2013-04-04 19:49:34 -0700 | [diff] [blame] | 45 | android:paddingStart="10dip" |
| 46 | android:paddingEnd="10dip" |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 47 | android:paddingTop="10dip" |
Katherine Kuan | 2eb969c | 2011-06-28 11:43:15 -0700 | [diff] [blame] | 48 | android:lineSpacingMultiplier="0.92"/> |
| 49 | |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 50 | </ScrollView> |
Daniel Lehmann | 18db43d | 2010-09-30 18:16:59 -0700 | [diff] [blame] | 51 | |
Daniel Lehmann | 7ed92ee | 2011-07-14 22:05:03 -0700 | [diff] [blame] | 52 | <!-- "QuickFix"- button (Copy to local contact, add to group) --> |
Daniel Lehmann | 18db43d | 2010-09-30 18:16:59 -0700 | [diff] [blame] | 53 | <Button |
Daniel Lehmann | 7ed92ee | 2011-07-14 22:05:03 -0700 | [diff] [blame] | 54 | android:id="@+id/contact_quick_fix" |
Daniel Lehmann | 18db43d | 2010-09-30 18:16:59 -0700 | [diff] [blame] | 55 | android:layout_width="wrap_content" |
| 56 | android:layout_height="wrap_content" |
Daniel Lehmann | 18db43d | 2010-09-30 18:16:59 -0700 | [diff] [blame] | 57 | android:visibility="gone" |
Daisuke Miyakawa | 72a308b | 2011-09-06 17:47:04 -0700 | [diff] [blame] | 58 | android:layout_gravity="center" |
Daniel Lehmann | 18db43d | 2010-09-30 18:16:59 -0700 | [diff] [blame] | 59 | android:layout_marginTop="20dip" |
| 60 | android:layout_marginBottom="20dip" /> |
Daniel Lehmann | c2687c3 | 2010-04-19 18:20:44 -0700 | [diff] [blame] | 61 | </LinearLayout> |
Daniel Lehmann | 4cd9441 | 2010-04-08 16:44:36 -0700 | [diff] [blame] | 62 | |