• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2013 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License
16  -->
17
18<resources>
19  <drawable name="grayBg">#FF333333</drawable>
20
21  <!-- Theme for the InCallActivity activity. Should have a transparent background for the
22       circular reveal animation for a new outgoing call to work correctly. We don't just use
23       Theme.Black.NoTitleBar directly, since we want any popups or dialogs from the
24       InCallActivity to have the correct Material style. -->
25  <style name="Theme.InCallScreen" parent="@style/Theme.AppCompat.NoActionBar">
26    <item name="android:textColorPrimary">#ffffff</item>
27    <item name="android:textColorSecondary">#DDFFFFFF</item>
28    <item name="android:colorPrimary">@color/dialer_theme_color</item>
29    <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item>
30
31    <item name="android:statusBarColor">@android:color/transparent</item>
32    <item name="android:navigationBarColor">@android:color/transparent</item>
33    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
34
35    <item name="dialpad_key_button_touch_tint">@color/incall_dialpad_touch_tint</item>
36    <item name="dialpad_style">@style/InCallDialpad</item>
37    <item name="android:windowAnimationStyle">@null</item>
38    <item name="android:alertDialogTheme">@style/AlertDialogTheme</item>
39
40    <item name="android:windowBackground">@drawable/incall_background_gradient</item>
41    <item name="android:windowShowWallpaper">true</item>
42  </style>
43
44  <style name="Theme.InCallScreen.ManageConference" parent="DialerThemeBase">
45  </style>
46
47  <style name="InCallDialpad" parent="Dialpad.Light">
48    <item name="dialpad_key_number_margin_bottom">
49      @dimen/incall_dialpad_key_number_margin_bottom
50    </item>
51    <item name="dialpad_zero_key_number_margin_bottom">
52      @dimen/incall_dialpad_zero_key_number_margin_bottom
53    </item>
54    <item name="dialpad_digits_adjustable_text_size">
55      @dimen/incall_dialpad_digits_adjustable_text_size
56    </item>
57    <item name="dialpad_digits_adjustable_height">
58      @dimen/incall_dialpad_digits_adjustable_height
59    </item>
60    <item name="dialpad_key_numbers_size">
61      @dimen/incall_dialpad_key_numbers_size
62    </item>
63    <item name="dialpad_end_key_spacing">
64      @dimen/incall_end_call_spacing
65    </item>
66    <item name="dialpad_elevation">10dp</item>
67  </style>
68
69  <style name="AfterCallNotificationTheme" parent="@style/Theme.AppCompat.Light.Dialog.MinWidth">
70    <!-- This colorAccent is to style checkboxes in the dialogs -->
71    <item name="colorAccent">@color/dialer_theme_color</item>
72    <!-- This is needed to make any alert dialogs in this activity take up minimum space -->
73    <item name="android:alertDialogTheme">@style/AfterCallDialogStyle</item>
74  </style>
75
76  <style name="AfterCallDialogStyle" parent="@style/Theme.AppCompat.Light.Dialog.MinWidth">
77    <!-- This colorAccent is to style text in the dialogs -->
78    <item name="android:colorAccent">@color/dialer_theme_color</item>
79  </style>
80
81</resources>
82