1 <?xml version="1.0" encoding="utf-8"?> 2 <!-- Copyright (C) 2008 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="64dp" 21 android:orientation="horizontal" 22 android:gravity="center_vertical"> 23 24 <!-- Caller information --> 25 <LinearLayout 26 android:id="@+id/conferenceCallerSeparate" 27 android:layout_width="0dp" 28 android:layout_weight="1" 29 android:layout_height="match_parent" 30 android:background="?android:attr/selectableItemBackground" 31 android:paddingStart="16dp" 32 android:orientation="horizontal" 33 android:gravity="center_vertical"> 34 35 <!-- "Separate" (i.e. "go private") button for this caller --> 36 <ImageView 37 android:src="@drawable/ic_split_holo_dark" 38 android:layout_width="46dp" 39 android:layout_height="46dp" 40 android:scaleType="center" 41 android:contentDescription="@string/goPrivate"/> 42 43 <LinearLayout 44 android:layout_width="match_parent" 45 android:layout_height="wrap_content" 46 android:paddingStart="8dp" 47 android:gravity="center_vertical" 48 android:orientation="vertical"> 49 50 <!-- Name or number of this caller --> 51 <TextView 52 android:id="@+id/conferenceCallerName" 53 android:textAppearance="?android:attr/textAppearanceLarge" 54 android:textSize="18sp" 55 android:singleLine="true" 56 android:layout_width="wrap_content" 57 android:layout_height="match_parent" 58 android:layout_marginEnd="2dp" 59 /> 60 61 <!-- Number of this caller if name is supplied above --> 62 <LinearLayout 63 android:layout_width="wrap_content" 64 android:layout_height="match_parent" 65 android:orientation="horizontal" 66 android:gravity="bottom"> 67 68 <!-- Number --> 69 <TextView 70 android:id="@+id/conferenceCallerNumber" 71 android:layout_width="wrap_content" 72 android:layout_height="wrap_content" 73 android:textSize="14sp" 74 android:ellipsize="marquee" 75 android:textColor="@color/manage_conference_secondary_text_color" 76 android:singleLine="true" 77 android:layout_marginEnd="8dp" /> 78 79 <!-- Number type --> 80 <TextView 81 android:id="@+id/conferenceCallerNumberType" 82 android:layout_width="wrap_content" 83 android:layout_height="wrap_content" 84 android:textSize="12sp" 85 android:textColor="@color/manage_conference_secondary_text_color" 86 android:ellipsize="marquee" 87 android:singleLine="true" 88 android:textAllCaps="true" 89 android:gravity="start" /> 90 91 </LinearLayout> <!-- End of caller number --> 92 93 </LinearLayout> <!-- End of caller information --> 94 </LinearLayout> 95 96 <!-- "End" button for this caller which should look like the 97 "end call" button in the main in-call UI screen --> 98 <ImageButton 99 android:id="@+id/conferenceCallerDisconnect" 100 android:layout_width="80dp" 101 android:layout_height="match_parent" 102 android:src="@drawable/ic_end_call_holo_dark" 103 android:background="@drawable/end_call_background" 104 android:scaleType="center" 105 android:contentDescription="@string/onscreenEndCallText" /> 106 107 </LinearLayout> <!-- End of single list element --> 108