diff options
author | Yuzhou Jia <jiayuzhou@google.com> | 2018-04-20 17:27:22 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-04-20 17:27:22 +0000 |
commit | 94d5c5e9a9a49977da0d9de2851e8901b2f398b8 (patch) | |
tree | c20f7eeb395035af715296e59c21d30b0f8c8ddf /res/layout | |
parent | 5ac6c2bd11f3353edde0389c3eeda4775e1107ed (diff) | |
parent | e2a2ef40b2493367402e658c5e8f285124399e82 (diff) | |
download | platform_packages_apps_Car_Dialer-94d5c5e9a9a49977da0d9de2851e8901b2f398b8.tar.gz platform_packages_apps_Car_Dialer-94d5c5e9a9a49977da0d9de2851e8901b2f398b8.tar.bz2 platform_packages_apps_Car_Dialer-94d5c5e9a9a49977da0d9de2851e8901b2f398b8.zip |
Merge "Implement the fragment of in call control bar." into pi-dev
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/on_going_call_controller_bar_fragment.xml | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/res/layout/on_going_call_controller_bar_fragment.xml b/res/layout/on_going_call_controller_bar_fragment.xml new file mode 100644 index 00000000..e3a42278 --- /dev/null +++ b/res/layout/on_going_call_controller_bar_fragment.xml @@ -0,0 +1,89 @@ +<?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:id="@+id/rail" + android:layout_width="match_parent" + android:layout_height="@dimen/in_call_card_height" + android:elevation = "@dimen/in_call_card_elevation" + android:background="@drawable/in_call_card_background"> + <ImageView + android:id="@+id/mute_button" + android:layout_width="@dimen/in_call_button_size" + android:layout_height="@dimen/in_call_button_size" + android:scaleType="centerCrop" + android:src="@drawable/ic_mute" + android:tint="@android:color/white" + 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="centerCrop" + android:src="@drawable/ic_dialpad" + android:tint="@android:color/white" + 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/in_call_button_size" + android:layout_height="@dimen/in_call_button_size" + android:scaleType="centerCrop" + android:src="@drawable/ic_call_end" + android:tint="@android:color/holo_red_dark" + 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="centerCrop" + android:src="@drawable/ic_bluetooth" + android:tint="@android:color/white" + 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/pause_button" + android:layout_width="@dimen/in_call_button_size" + android:layout_height="@dimen/in_call_button_size" + android:scaleType="centerCrop" + android:src="@drawable/ic_pause" + android:tint="@android:color/white" + 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>
\ No newline at end of file |