blob: 8faa35bea0f846cf20d048050014d3d649cb9434 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
<!--
~ 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
-->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<selector>
<item
android:drawable="@drawable/incall_button_background_checked"
android:state_checked="true"/>
<item android:drawable="@drawable/incall_button_background_unchecked"/>
</selector>
</item>
<item>
<ripple android:color="@color/incall_button_ripple">
<item
android:id="@android:id/mask"
android:gravity="center">
<shape android:shape="oval">
<solid android:color="@android:color/white"/>
</shape>
</item>
</ripple>
</item>
<!-- This adds a little down arrow to indicate that the button will pop up a menu. Use an explicit
<bitmap> to avoid scaling the icon up to the full size of the button. -->
<item>
<bitmap
android:gravity="end"
android:tint="@color/incall_button_icon"
android:src="@drawable/quantum_ic_arrow_drop_down_white_18"/>
</item>
</layer-list>
|