| <?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. |
| --> |
| <androidx.constraintlayout.widget.ConstraintLayout |
| xmlns:android="http://schemas.android.com/apk/res/android" |
| xmlns:app="http://schemas.android.com/apk/res-auto" |
| android:layout_width="match_parent" |
| android:layout_height="@dimen/in_call_controller_bar_height"> |
| <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_activatable" |
| android:background="@drawable/dialer_ripple_background" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toStartOf="parent" |
| app:layout_constraintEnd_toStartOf="@+id/toggle_dialpad_button" |
| app:layout_constraintTop_toTopOf="parent" |
| app:layout_constraintHorizontal_chainStyle="spread_inside"/> |
| |
| <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_activatable" |
| android:background="@drawable/dialer_ripple_background" |
| 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"/> |
| |
| <ImageView |
| android:id="@+id/end_call_button" |
| style="@style/DialpadPrimaryButton" |
| android:src="@drawable/ic_call_end_button" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/toggle_dialpad_button" |
| app:layout_constraintEnd_toStartOf="@+id/voice_channel_view" |
| app:layout_constraintTop_toTopOf="parent"/> |
| |
| <FrameLayout |
| android:id="@+id/voice_channel_view" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/end_call_button" |
| app:layout_constraintEnd_toStartOf="@+id/button_wrapper" |
| app:layout_constraintTop_toTopOf="parent"> |
| |
| <ImageView |
| android:id="@+id/voice_channel_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:background="@drawable/dialer_ripple_background" |
| android:scaleType="center" |
| android:src="@drawable/ic_audio_route_vehicle_activatable"/> |
| |
| <TextView |
| android:id="@+id/voice_channel_text" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| android:visibility="gone"/> |
| |
| </FrameLayout> |
| |
| <LinearLayout |
| android:id="@+id/button_wrapper" |
| android:layout_width="wrap_content" |
| android:layout_height="wrap_content" |
| app:layout_constraintBottom_toBottomOf="parent" |
| app:layout_constraintStart_toEndOf="@+id/voice_channel_view" |
| app:layout_constraintEnd_toEndOf="parent" |
| app:layout_constraintTop_toTopOf="parent"> |
| |
| <ImageView |
| android:id="@+id/merge_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:background="@drawable/dialer_ripple_background" |
| android:scaleType="center" |
| android:src="@drawable/ic_merge"/> |
| |
| <ImageView |
| android:id="@+id/pause_button" |
| android:layout_width="@dimen/in_call_button_size" |
| android:layout_height="@dimen/in_call_button_size" |
| android:background="@drawable/dialer_ripple_background" |
| android:scaleType="center" |
| android:src="@drawable/ic_pause_activatable"/> |
| </LinearLayout> |
| |
| </androidx.constraintlayout.widget.ConstraintLayout> |