Maurice Chu | 13f6f26 | 2012-05-08 15:25:16 -0700 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- Copyright (C) 2012 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 | |
| 17 | <LinearLayout |
| 18 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 19 | android:id="@+id/contact_detail" |
| 20 | android:orientation="vertical" |
| 21 | android:layout_width="match_parent" |
| 22 | android:layout_height="match_parent"> |
| 23 | |
| 24 | <!-- Placeholder for empty list --> |
| 25 | <include |
| 26 | android:id="@android:id/empty" |
| 27 | layout="@layout/contact_detail_empty" |
| 28 | android:visibility="gone" /> |
| 29 | |
| 30 | <!-- Real list --> |
| 31 | <ListView android:id="@android:id/list" |
| 32 | android:layout_weight="1" |
| 33 | android:layout_width="match_parent" |
| 34 | android:layout_height="0dip" |
| 35 | android:fadingEdge="none" |
| 36 | android:cacheColorHint="#00000000" |
| 37 | android:divider="@null" |
Maurice Chu | 712bdc3 | 2012-05-10 09:58:36 -0700 | [diff] [blame] | 38 | android:scrollbarStyle="outsideOverlay" |
| 39 | android:paddingRight="12dip" /> |
Maurice Chu | 13f6f26 | 2012-05-08 15:25:16 -0700 | [diff] [blame] | 40 | |
| 41 | <!-- "QuickFix"- button (Copy to local contact, add to group) --> |
| 42 | <Button |
| 43 | android:id="@+id/contact_quick_fix" |
| 44 | android:layout_width="wrap_content" |
| 45 | android:layout_height="wrap_content" |
| 46 | android:visibility="gone" |
| 47 | android:layout_gravity="center" |
| 48 | android:layout_marginTop="10dip" |
| 49 | android:layout_marginBottom="10dip" /> |
| 50 | </LinearLayout> |