blob: 5db08f49a476d234f900f0086fb4a172a760f913 (
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
46
47
48
|
<?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
-->
<resources>
<!-- TODO(calderwoodra): Delete this once new call log and new voicemail ship. -->
<!-- Ideally we would make a callLogCardStyle attribute but we don't want to expand dialer/app -->
<style name="CallLogCardStyle" parent="CardView">
<item name="android:layout_width">match_parent</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:layout_marginTop">4dp</item>
<item name="android:layout_marginBottom">4dp</item>
<item name="android:layout_marginStart">8dp</item>
<item name="android:layout_marginEnd">8dp</item>
<item name="android:baselineAligned">false</item>
<item name="cardElevation">0dp</item>
<item name="cardMaxElevation">6dp</item>
<item name="cardCornerRadius">8dp</item>
<item name="cardBackgroundColor">?android:attr/colorBackgroundFloating</item>
</style>
<!-- This Checkbox style helps align checkboxes with the common list element layout(Image + text) -->
<style name="DialerCheckboxStyle" parent="Widget.AppCompat.CompoundButton.CheckBox">
<item name="android:layout_marginStart">20dp</item>
<item name="android:paddingLeft">12dp</item>
</style>
<style name="DialerBottomSheetDialogStyle" parent="Theme.Design.BottomSheetDialog">
<item name="android:windowBackground">@android:color/transparent</item>
<item name="bottomSheetStyle">@style/BottomSheetStyle</item>
</style>
<style name="BottomSheetStyle" parent="Widget.Design.BottomSheet.Modal">
<item name="android:background">@drawable/bottom_sheet_background</item>
</style>
</resources>
|