diff options
author | wangqi <wangqi@google.com> | 2018-03-29 10:19:58 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-03-29 11:26:29 -0700 |
commit | 6ca8c72289f7bbaab3bf0ae3a37cc26d9cb93923 (patch) | |
tree | a2da1ea4f1ac27b6a3910f242dc6a00936cfcb5b /java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml | |
parent | 756f013f4797403347ae43a5ab60e8b9e884f124 (diff) |
Replace png icons with vector drawable for video call screen.
Bug: 76221932
Test: manual
PiperOrigin-RevId: 190948113
Change-Id: I4151ab3fc5231183d49fc1bdc247a09e5ffadc22
Diffstat (limited to 'java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml')
-rw-r--r-- | java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml b/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml index d71b3c00e..404e5c842 100644 --- a/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml +++ b/java/com/android/incallui/video/impl/res/layout/videocall_controls_land.xml @@ -1,4 +1,18 @@ <?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. +--> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" @@ -45,33 +59,25 @@ <com.android.incallui.video.impl.CheckableImageButton android:id="@+id/videocall_speaker_button" style="@style/Incall.Button.VideoCall" - android:layout_width="@dimen/videocall_button_size" - android:layout_height="@dimen/videocall_button_size" android:layout_marginEnd="24dp" android:checked="true" - android:src="@drawable/quantum_ic_volume_up_white_36" + android:src="@drawable/quantum_ic_volume_up_vd_theme_24" app:contentDescriptionChecked="@string/incall_content_description_speaker" app:contentDescriptionUnchecked="@string/incall_content_description_earpiece" /> <com.android.incallui.video.impl.CheckableImageButton android:id="@+id/videocall_mute_button" style="@style/Incall.Button.VideoCall" - android:layout_width="@dimen/videocall_button_size" - android:layout_height="@dimen/videocall_button_size" android:layout_marginEnd="24dp" - android:scaleType="center" - android:src="@drawable/quantum_ic_mic_off_white_36" + android:src="@drawable/quantum_ic_mic_off_vd_theme_24" app:contentDescriptionChecked="@string/incall_content_description_muted" app:contentDescriptionUnchecked="@string/incall_content_description_unmuted" /> <com.android.incallui.video.impl.CheckableImageButton android:id="@+id/videocall_mute_video" style="@style/Incall.Button.VideoCall" - android:layout_width="@dimen/videocall_button_size" - android:layout_height="@dimen/videocall_button_size" android:layout_marginEnd="24dp" - android:scaleType="center" - android:src="@drawable/quantum_ic_videocam_off_white_36" + android:src="@drawable/quantum_ic_videocam_off_vd_theme_24" app:contentDescriptionChecked="@string/incall_content_description_video_off" app:contentDescriptionUnchecked="@string/incall_content_description_video_on" /> @@ -93,10 +99,8 @@ <ImageButton android:id="@+id/videocall_switch_on_hold" style="@style/Incall.Button.VideoCall" - android:layout_width="@dimen/videocall_button_size" - android:layout_height="@dimen/videocall_button_size" android:contentDescription="@string/incall_content_description_swap_calls" - android:src="@drawable/quantum_ic_swap_calls_white_36" + android:src="@drawable/quantum_ic_swap_calls_vd_theme_24" android:visibility="gone" tools:visibility="visible" /> |