diff options
Diffstat (limited to 'java/com/android/incallui/res/layout/caller_in_conference.xml')
-rw-r--r-- | java/com/android/incallui/res/layout/caller_in_conference.xml | 119 |
1 files changed, 119 insertions, 0 deletions
diff --git a/java/com/android/incallui/res/layout/caller_in_conference.xml b/java/com/android/incallui/res/layout/caller_in_conference.xml new file mode 100644 index 000000000..3a6773d20 --- /dev/null +++ b/java/com/android/incallui/res/layout/caller_in_conference.xml @@ -0,0 +1,119 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2008 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="64dp" + android:paddingStart="16dp" + android:paddingEnd="8dp" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <!-- Caller information --> + <LinearLayout + android:layout_width="0dp" + android:layout_height="match_parent" + android:layout_weight="1" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <ImageView + android:id="@+id/callerPhoto" + android:layout_width="@dimen/contact_browser_list_item_photo_size" + android:layout_height="@dimen/contact_browser_list_item_photo_size"/> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginStart="16dp" + android:paddingBottom="2dp" + android:gravity="center_vertical" + android:orientation="vertical"> + + <!-- Name or number of this caller --> + <TextView + android:id="@+id/conferenceCallerName" + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:layout_marginEnd="2dp" + android:singleLine="true" + android:textAppearance="?android:attr/textAppearanceLarge" + android:textColor="@color/conference_call_manager_caller_name_text_color" + android:textSize="16sp"/> + + <!-- Number of this caller if name is supplied above --> + <LinearLayout + android:layout_width="wrap_content" + android:layout_height="match_parent" + android:gravity="bottom" + android:orientation="horizontal"> + + <!-- Number --> + <TextView + android:id="@+id/conferenceCallerNumber" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginEnd="8dp" + android:ellipsize="marquee" + android:singleLine="true" + android:textColor="@color/conference_call_manager_secondary_text_color" + android:textSize="14sp"/> + + <!-- Number type --> + <TextView + android:id="@+id/conferenceCallerNumberType" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:ellipsize="marquee" + android:gravity="start" + android:singleLine="true" + android:textAllCaps="true" + android:textColor="@color/conference_call_manager_secondary_text_color" + android:textSize="12sp"/> + + </LinearLayout> <!-- End of caller number --> + + </LinearLayout> <!-- End of caller information --> + + </LinearLayout> + + <!-- "Separate" (i.e. "go private") button for this caller --> + <ImageView + android:id="@+id/conferenceCallerSeparate" + android:layout_width="@dimen/conference_call_manager_button_dimension" + android:layout_height="@dimen/conference_call_manager_button_dimension" + android:background="?android:selectableItemBackgroundBorderless" + android:clickable="true" + android:contentDescription="@string/goPrivate" + android:scaleType="center" + android:src="@drawable/ic_call_split_white_24dp" + android:tint="@color/conference_call_manager_icon_color"/> + + <!-- "Disconnect" button which terminates the connection with this caller. --> + <ImageButton + android:id="@+id/conferenceCallerDisconnect" + android:layout_width="@dimen/conference_call_manager_button_dimension" + android:layout_height="@dimen/conference_call_manager_button_dimension" + android:layout_marginStart="8dp" + android:background="?android:selectableItemBackgroundBorderless" + android:clickable="true" + android:contentDescription="@string/conference_caller_disconnect_content_description" + android:scaleType="center" + android:src="@drawable/ic_call_end_white_24dp" + android:tint="@color/conference_call_manager_icon_color"/> + +</LinearLayout> <!-- End of single list element --> |