1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2010 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:layout_width="match_parent" 20 android:layout_height="match_parent" 21 android:orientation="vertical"> 22 <LinearLayout 23 android:layout_width="match_parent" 24 android:layout_height="wrap_content" 25 android:orientation="horizontal" 26 android:layout_marginTop="16dip"> 27 <QuickContactBadge 28 android:id="@+id/small_badge1" 29 android:layout_width="wrap_content" 30 android:layout_height="wrap_content" 31 style="?android:attr/quickContactBadgeStyleWindowSmall" 32 android:layout_marginLeft="4dip" /> 33 <QuickContactBadge 34 android:id="@+id/medium_badge1" 35 android:layout_width="wrap_content" 36 android:layout_height="wrap_content" 37 style="?android:attr/quickContactBadgeStyleWindowMedium" 38 android:layout_marginLeft="4dip" /> 39 <QuickContactBadge 40 android:id="@+id/large_badge1" 41 android:layout_width="wrap_content" 42 android:layout_height="wrap_content" 43 style="?android:attr/quickContactBadgeStyleWindowLarge" 44 android:layout_marginLeft="4dip" /> 45 </LinearLayout> 46 <View 47 android:layout_width="match_parent" 48 android:layout_height="0px" 49 android:layout_weight="1" /> 50 <LinearLayout 51 android:layout_width="match_parent" 52 android:layout_height="wrap_content" 53 android:orientation="horizontal"> 54 <Button 55 android:id="@+id/pick_contact" 56 android:layout_width="wrap_content" 57 android:layout_height="wrap_content" 58 android:padding="32dip" 59 android:text="@string/pickContact" /> 60 <TextView 61 android:id="@+id/uri" 62 android:layout_width="wrap_content" 63 android:layout_height="wrap_content" 64 android:padding="32dip" /> 65 </LinearLayout> 66 <View 67 android:layout_width="match_parent" 68 android:layout_height="0px" 69 android:layout_weight="1" /> 70 <LinearLayout 71 android:layout_width="match_parent" 72 android:layout_height="wrap_content" 73 android:orientation="horizontal" 74 android:layout_marginBottom="16dip"> 75 <QuickContactBadge 76 android:id="@+id/small_badge2" 77 android:layout_width="wrap_content" 78 android:layout_height="wrap_content" 79 style="?android:attr/quickContactBadgeStyleSmallWindowSmall" 80 android:layout_marginLeft="4dip" /> 81 <QuickContactBadge 82 android:id="@+id/medium_badge2" 83 android:layout_width="wrap_content" 84 android:layout_height="wrap_content" 85 style="?android:attr/quickContactBadgeStyleSmallWindowMedium" 86 android:layout_marginLeft="4dip" /> 87 <QuickContactBadge 88 android:id="@+id/large_badge2" 89 android:layout_width="wrap_content" 90 android:layout_height="wrap_content" 91 style="?android:attr/quickContactBadgeStyleSmallWindowLarge" 92 android:layout_marginLeft="4dip" /> 93 </LinearLayout> 94 <Button 95 android:id="@android:id/button1" 96 android:layout_width="wrap_content" 97 android:layout_height="wrap_content" 98 android:text="@string/quickContactIntent" 99 android:enabled="false"/> 100</LinearLayout> 101 102