• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!--
2  ~ Copyright (C) 2012 The Android Open Source Project
3  ~
4  ~ Licensed under the Apache License, Version 2.0 (the "License");
5  ~ you may not use this file except in compliance with the License.
6  ~ You may obtain a copy of the License at
7  ~
8  ~      http://www.apache.org/licenses/LICENSE-2.0
9  ~
10  ~ Unless required by applicable law or agreed to in writing, software
11  ~ distributed under the License is distributed on an "AS IS" BASIS,
12  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  ~ See the License for the specific language governing permissions and
14  ~ limitations under the License
15  -->
16
17<resources>
18
19  <style name="CallLogCardStyle" parent="CardView">
20    <item name="android:layout_width">match_parent</item>
21    <item name="android:layout_height">wrap_content</item>
22    <item name="android:layout_margin">4dp</item>
23    <item name="android:baselineAligned">false</item>
24    <item name="cardCornerRadius">2dp</item>
25    <item name="cardBackgroundColor">@color/background_dialer_call_log_list_item</item>
26  </style>
27
28  <!-- Inherit from Theme.Material.Light.Dialog instead of Theme.Material.Light.Dialog.Alert
29  since the Alert dialog is private. They are identical anyway. -->
30  <style name="AlertDialogTheme" parent="@android:style/Theme.Material.Light.Dialog">
31    <item name="android:colorAccent">@color/dialtacts_theme_color</item>
32  </style>
33
34  <style name="TextActionStyle">
35    <item name="android:layout_width">wrap_content</item>
36    <item name="android:layout_height">@dimen/call_log_action_height</item>
37    <item name="android:gravity">end|center_vertical</item>
38    <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item>
39    <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item>
40    <item name="android:textColor">@color/dialtacts_theme_color</item>
41    <item name="android:fontFamily">"sans-serif-medium"</item>
42    <item name="android:focusable">true</item>
43    <item name="android:singleLine">true</item>
44    <item name="android:textAllCaps">true</item>
45  </style>
46
47  <style name="DialerButtonTextStyle" parent="@android:style/TextAppearance.Material.Widget.Button">
48    <item name="android:textColor">#fff</item>
49  </style>
50
51  <style name="DialerActionBarBaseStyle"
52    parent="@style/Widget.AppCompat.Light.ActionBar.Solid.Inverse">
53    <item name="android:background">@color/actionbar_background_color</item>
54    <item name="background">@color/actionbar_background_color</item>
55  </style>
56</resources>
57