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 <!-- Theme for the InCallActivity activity. Should have a transparent background for the 20 circular reveal animation for a new outgoing call to work correctly. We don't just use 21 Theme.Black.NoTitleBar directly, since we want any popups or dialogs from the 22 InCallActivity to have the correct Material style. --> 23 <style name="Theme.InCallScreen.Light" parent="@style/Dialer.ThemeBase.NoActionBar"> 24 <item name="android:statusBarColor">@android:color/transparent</item> 25 <item name="android:navigationBarColor">@android:color/transparent</item> 26 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 27 28 <item name="dialpad_key_button_touch_tint">?attr/colorPrimary20pct</item> 29 <item name="dialpad_style">@style/InCallDialpad</item> 30 <item name="android:windowAnimationStyle">@null</item> 31 32 <item name="android:windowBackground">@drawable/incall_background_gradient</item> 33 <item name="android:windowShowWallpaper">true</item> 34 </style> 35 36 <style name="Theme.InCallScreen" parent="@style/Dialer.Dark.ThemeBase.NoActionBar"> 37 <item name="android:textColorPrimary">@android:color/white</item> 38 <item name="android:textColorSecondary">#DDFFFFFF</item> 39 <item name="android:statusBarColor">@android:color/transparent</item> 40 <item name="android:navigationBarColor">@android:color/transparent</item> 41 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 42 <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> 43 <item name="colorPrimaryDark">@color/dialer_theme_color_dark</item> 44 45 <item name="dialpad_key_button_touch_tint">?attr/colorPrimary20pct</item> 46 <item name="dialpad_style">@style/InCallDialpad</item> 47 <item name="android:windowAnimationStyle">@null</item> 48 49 <item name="android:windowBackground">@drawable/incall_background_gradient</item> 50 <item name="android:windowShowWallpaper">true</item> 51 </style> 52 53 <style name="Theme.InCallScreen.ManageConference" parent="Dialer.ThemeBase.ActionBar"> 54 </style> 55 56 <style name="InCallDialpad" parent="Dialpad.Themed"> 57 <item name="dialpad_key_number_margin_bottom"> 58 @dimen/incall_dialpad_key_number_margin_bottom 59 </item> 60 <item name="dialpad_digits_adjustable_text_size"> 61 @dimen/incall_dialpad_digits_adjustable_text_size 62 </item> 63 <item name="dialpad_digits_adjustable_height"> 64 @dimen/incall_dialpad_digits_adjustable_height 65 </item> 66 <item name="dialpad_key_letters_size_for_dual_alphabets"> 67 @dimen/incall_dialpad_key_letters_size_for_dual_alphabets 68 </item> 69 <item name="dialpad_key_letters_size_for_single_alphabet"> 70 @dimen/incall_dialpad_key_letters_size_for_single_alphabet 71 </item> 72 <item name="dialpad_key_numbers_size"> 73 @dimen/incall_dialpad_key_numbers_size 74 </item> 75 <item name="dialpad_end_key_spacing"> 76 @dimen/incall_end_call_spacing 77 </item> 78 <item name="dialpad_elevation">10dp</item> 79 </style> 80 81 <style name="AfterCallNotificationTheme" parent="Dialer.ThemeBase.NoActionBar"> 82 <item name="android:windowNoTitle">true</item> 83 <item name="android:windowBackground">@android:color/transparent</item> 84 <item name="android:colorBackgroundCacheHint">@null</item> 85 <item name="android:windowIsTranslucent">true</item> 86 <item name="android:windowAnimationStyle">@android:style/Animation</item> 87 </style> 88 89 <style name="AfterCallDialogStyle" parent="@android:style/Theme.Material.Light.Dialog"> 90 <!-- This colorAccent is to style text in the dialogs --> 91 <item name="android:colorAccent">?android:attr/colorPrimary</item> 92 </style> 93 94 <style name="Theme.Incall.DialogHolder" parent="Theme.AppCompat.Translucent"> 95 <item name="android:windowBackground">@android:color/transparent</item> 96 <item name="android:windowActivityTransitions">false</item> 97 98 <item name="android:statusBarColor">@android:color/transparent</item> 99 <item name="android:navigationBarColor">@android:color/transparent</item> 100 <item name="android:windowDrawsSystemBarBackgrounds">true</item> 101 </style> 102 103</resources> 104