• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2013 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<!-- This button is used only on GSM devices, during a conference call. -->
19<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
20    android:id="@+id/manage_conference_call_button"
21    android:layout_width="match_parent"
22    android:layout_height="wrap_content"
23    android:background="@color/incall_banner_secondary_background_color">
24
25    <Space android:layout_width="match_parent"
26        android:layout_height="1dp"
27        android:background="@color/secondary_call_info_divider_highlight_color" />
28
29    <!-- This LinearLayout nested immediately in a FrameLayout is necessary to apply both a
30         background color and ripple to the button. -->
31    <LinearLayout
32        android:layout_width="match_parent"
33        android:layout_height="wrap_content"
34        android:paddingStart="@dimen/secondary_call_info_horizontal_padding"
35        android:paddingEnd="@dimen/secondary_call_info_horizontal_padding"
36        android:paddingTop="@dimen/secondary_call_info_vertical_padding"
37        android:paddingBottom="@dimen/secondary_call_info_vertical_padding"
38        android:background="?android:attr/selectableItemBackground">
39
40        <ImageView android:id="@+id/manageConferenceButtonImage"
41            android:layout_width="wrap_content"
42            android:layout_height="wrap_content"
43            android:src="@drawable/ic_group_white_24dp"
44            android:tint="@color/incall_banner_secondary_text_color"
45            android:contentDescription="@string/onscreenManageConferenceText"
46            android:paddingEnd="16dp" />
47
48        <TextView android:id="@+id/manageConferenceButtonLabel"
49            android:layout_width="match_parent"
50            android:layout_height="wrap_content"
51            android:gravity="center_vertical"
52            android:textColor="@color/incall_banner_secondary_text_color"
53            android:textSize="@dimen/secondary_call_info_text_size"
54            android:text="@string/onscreenManageConferenceText" />
55
56    </LinearLayout>
57
58</FrameLayout>
59