diff options
author | Andrew Lee <anwlee@google.com> | 2014-07-17 18:44:39 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2014-07-17 18:47:21 -0700 |
commit | 2ee65e79ee71959d2ca26a6a3ec317d3a80b28e9 (patch) | |
tree | 58545b4b211842777e5364c8946a410bb662f7f1 /InCallUI/res/drawable/btn_compound_video_off.xml | |
parent | 77e58350baa664c832aca01d963a0ecc76e7585f (diff) |
Add new buttons for video calls.
These are simply hidden for now; behavior needs to be wired up still.
Since it now has so many buttons, I also tried to update and clean
up the comments/arrangement of buttons in call_button_fragment.
Bug: 16014280
Change-Id: If0780bab9de1889d9c4350ffc345c7239cfcc948
Diffstat (limited to 'InCallUI/res/drawable/btn_compound_video_off.xml')
-rw-r--r-- | InCallUI/res/drawable/btn_compound_video_off.xml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/InCallUI/res/drawable/btn_compound_video_off.xml b/InCallUI/res/drawable/btn_compound_video_off.xml new file mode 100644 index 000000000..776df50ff --- /dev/null +++ b/InCallUI/res/drawable/btn_compound_video_off.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 + --> + +<!-- Layers used to render the in-call "Mute" compound button. --> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + + <!-- The standard "compound button" background. --> + <item android:drawable="@drawable/btn_compound_background" /> + + <!-- Use an explicit <bitmap> to avoid scaling the icon up to the full size of the button. --> + <item> + <bitmap android:src="@drawable/ic_toolbar_video_off" + android:gravity="center" + android:tint="@color/selectable_icon_tint" /> + </item> + +</layer-list> |