| <?xml version="1.0" encoding="utf-8"?> |
| <!-- Copyright (C) 2018 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. |
| --> |
| <android.support.constraint.ConstraintLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| xmlns:tools="http://schemas.android.com/tools" |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/car_action_bar_height" |
| android:background="@color/phone_theme" |
| android:elevation = "@dimen/in_call_card_elevation"> |
| <ImageView |
| android:id="@+id/mute_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_mute" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintEnd_toStartOf="@+id/toggle_dialpad_button" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| |
| <ImageView |
| android:id="@+id/toggle_dialpad_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_dialpad" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/mute_button" |
| app:layout_constraintEnd_toStartOf="@+id/end_call_button" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| |
| <ImageView |
| android:id="@+id/end_call_button" |
| android:layout_width="@dimen/fab_button_size" |
| android:layout_height="@dimen/fab_button_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_call_end" |
| android:tint="@color/phone_theme_light" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/toggle_dialpad_button" |
| app:layout_constraintEnd_toStartOf="@+id/voice_channel_button" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| |
| <ImageView |
| android:id="@+id/voice_channel_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_bluetooth" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/end_call_button" |
| app:layout_constraintEnd_toStartOf="@+id/pause_button" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| |
| <ImageView |
| android:id="@+id/voice_channel_chevron" |
| android:layout_width="@dimen/car_secondary_icon_size" |
| android:layout_height="@dimen/car_secondary_icon_size" |
| android:scaleType="fitCenter" |
| android:src="@drawable/ic_arrow_down" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/voice_channel_button" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| |
| <ImageView |
| android:id="@+id/pause_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:scaleType="center" |
| android:src="@drawable/ic_call_state_switch" |
| android:tint="@color/primary_icon_color" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/voice_channel_button" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintTop_toTopOf="parent" |
| tools:src="@color/contact_badge"/> |
| </android.support.constraint.ConstraintLayout> |