Home | History | Annotate | Download | only in layout-h600dp
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3   ~ Copyright (C) 2016 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 and IMS 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     android:focusable="true"
     25     android:contentDescription="@string/onscreenManageConferenceText">
     26 
     27     <Space android:layout_width="match_parent"
     28         android:layout_height="1dp"
     29         android:background="@color/secondary_call_info_divider_highlight_color" />
     30 
     31     <!-- This LinearLayout nested immediately in a FrameLayout is necessary to apply both a
     32          background color and ripple to the button. -->
     33     <LinearLayout
     34         android:layout_width="match_parent"
     35         android:layout_height="wrap_content"
     36         android:paddingStart="@dimen/secondary_call_info_horizontal_padding"
     37         android:paddingEnd="@dimen/secondary_call_info_horizontal_padding"
     38         android:paddingTop="@dimen/secondary_call_info_vertical_padding"
     39         android:paddingBottom="@dimen/secondary_call_info_vertical_padding"
     40         android:background="?android:attr/selectableItemBackground">
     41 
     42         <ImageView android:id="@+id/manageConferenceButtonImage"
     43             android:layout_width="wrap_content"
     44             android:layout_height="wrap_content"
     45             android:src="@drawable/ic_group_white_24dp"
     46             android:tint="@color/incall_banner_secondary_text_color"
     47             android:paddingEnd="16dp"
     48             android:importantForAccessibility="no" />
     49 
     50         <TextView android:id="@+id/manageConferenceButtonLabel"
     51             android:layout_width="match_parent"
     52             android:layout_height="wrap_content"
     53             android:gravity="center_vertical"
     54             android:textColor="@color/incall_banner_secondary_text_color"
     55             android:textSize="@dimen/secondary_call_info_text_size"
     56             android:text="@string/onscreenManageConferenceText"
     57             android:importantForAccessibility="no" />
     58 
     59     </LinearLayout>
     60 
     61 </FrameLayout>
     62