diff options
author | Tyler Gunn <tgunn@google.com> | 2016-01-21 09:58:16 -0800 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2016-01-27 13:27:52 -0800 |
commit | 8f5f0cba1d5970f305ee7263cdd6d739f13967ea (patch) | |
tree | 4d5a72e5ffa2ca0fce30e74a759071160016749a /InCallUI/res/drawable | |
parent | c4b26262269f0db8cfd14d68a0596801642219ff (diff) |
Add downgrade to audio button for video calls.
- Add downgrade to audio button for video calls where the call capabilities
indicates that it is supported.
- Requires N SDK or higher.
Bug: 22728624
Change-Id: I92aaf1d1e77da82c2ad982a57bb2eae599cff4da
Diffstat (limited to 'InCallUI/res/drawable')
-rw-r--r-- | InCallUI/res/drawable/btn_change_to_voice.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/InCallUI/res/drawable/btn_change_to_voice.xml b/InCallUI/res/drawable/btn_change_to_voice.xml new file mode 100644 index 000000000..86a7f21d5 --- /dev/null +++ b/InCallUI/res/drawable/btn_change_to_voice.xml @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- + ~ Copyright (C) 2014 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 + --> + +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <item android:id="@+id/backgroundItem" + android:drawable="@drawable/btn_background" /> + + <item> + <bitmap android:src="@drawable/ic_toolbar_audio_phone" + android:gravity="center" + android:tint="@color/selectable_icon_tint" + android:autoMirrored="true" /> + </item> + +</layer-list>
\ No newline at end of file |