Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 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 | <style name="info_label"> |
| 22 | <item name="android:layout_height">wrap_content</item> |
| 23 | <item name="android:layout_width">wrap_content</item> |
| 24 | <item name="android:textAppearance">@style/TextAppearance.info_label</item> |
| 25 | <item name="android:paddingEnd">4dip</item> |
| 26 | </style> |
| 27 | |
| 28 | <style name="info_layout"> |
| 29 | <item name="android:orientation">vertical</item> |
| 30 | <item name="android:paddingStart">10dip</item> |
| 31 | <item name="android:paddingTop">10dip</item> |
| 32 | <item name="android:paddingEnd">10dip</item> |
| 33 | <item name="android:paddingBottom">10dip</item> |
| 34 | <item name="android:layout_width">match_parent</item> |
| 35 | <item name="android:layout_height">match_parent</item> |
| 36 | </style> |
| 37 | |
| 38 | <style name="entry_layout"> |
| 39 | <item name="android:orientation">vertical</item> |
| 40 | <item name="android:layout_width">wrap_content</item> |
| 41 | <item name="android:layout_height">wrap_content</item> |
| 42 | </style> |
| 43 | |
| 44 | <style name="TextAppearance" parent="android:TextAppearance"> |
| 45 | </style> |
| 46 | |
| 47 | <style name="TextAppearance.info_label"> |
| 48 | <item name="android:textSize">14sp</item> |
| 49 | <item name="android:textStyle">bold</item> |
| 50 | </style> |
| 51 | |
| 52 | |
| 53 | <!-- Buttons in the main "button row" of the in-call onscreen touch UI. --> |
| 54 | <style name="InCallButton"> |
Andrew Lee | 466618d | 2014-05-08 16:13:23 -0700 | [diff] [blame] | 55 | <item name="android:layout_width">@dimen/in_call_button_dimension</item> |
| 56 | <item name="android:layout_height">@dimen/in_call_button_dimension</item> |
Andrew Lee | 466618d | 2014-05-08 16:13:23 -0700 | [diff] [blame] | 57 | <item name="android:layout_marginBottom">@dimen/call_button_margin_vertical</item> |
| 58 | <item name="android:layout_marginLeft">@dimen/call_button_margin_horizontal</item> |
| 59 | <item name="android:layout_marginRight">@dimen/call_button_margin_horizontal</item> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 60 | <item name="android:background">?android:attr/selectableItemBackground</item> |
| 61 | </style> |
| 62 | |
| 63 | <!-- "Compound button" variation of InCallButton. |
Andrew Lee | 87f98d7 | 2015-01-13 13:19:50 -0800 | [diff] [blame] | 64 | These buttons have the concept of two states: checked and unchecked. This style is just |
| 65 | like "InCallButton" except that we also clear out android:background, android:textOn, |
| 66 | android:textOff, to avoid the default behavior of the ToggleButton class. --> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 67 | <style name="InCallCompoundButton" parent="InCallButton"> |
Andrew Lee | 87f98d7 | 2015-01-13 13:19:50 -0800 | [diff] [blame] | 68 | <item name="android:background">@null</item> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 69 | <item name="android:textOn">@null</item> |
| 70 | <item name="android:textOff">@null</item> |
| 71 | </style> |
| 72 | |
Yorke Lee | 8ef5cf3 | 2014-05-15 09:35:23 -0700 | [diff] [blame] | 73 | <!-- Theme for the InCallActivity activity. Should have a transparent background for the |
| 74 | circular reveal animation for a new outgoing call to work correctly. We don't just use |
Andrew Lee | 3a7108a | 2014-08-25 12:19:35 -0700 | [diff] [blame] | 75 | Theme.Black.NoTitleBar directly, since we want any popups or dialogs from the |
| 76 | InCallActivity to have the correct Material style. --> |
Alan Viverette | d9ff8fe | 2014-06-06 15:23:49 -0700 | [diff] [blame] | 77 | <style name="Theme.InCallScreen" parent="@android:style/Theme.Material.Light"> |
Yorke Lee | 6596e1b | 2015-02-19 18:03:00 -0800 | [diff] [blame] | 78 | <item name="android:windowAnimationStyle">@null</item> |
Sandeep Kunta | 5baddd1 | 2016-06-14 10:53:42 +0530 | [diff] [blame] | 79 | <item name="android:windowIsTranslucent">false</item> |
Yorke Lee | 8ef5cf3 | 2014-05-15 09:35:23 -0700 | [diff] [blame] | 80 | <item name="android:windowBackground">@android:color/transparent</item> |
| 81 | <item name="android:windowContentOverlay">@null</item> |
Andrew Lee | 945ac0f | 2014-05-28 17:59:42 -0700 | [diff] [blame] | 82 | <item name="dialpad_key_button_touch_tint">@color/incall_dialpad_touch_tint</item> |
Andrew Lee | c2831f3 | 2014-06-04 12:57:53 -0700 | [diff] [blame] | 83 | <item name="android:textColorPrimary">@color/incall_call_banner_text_color</item> |
Nancy Chen | 2d1f3d3 | 2014-07-30 10:51:12 -0700 | [diff] [blame] | 84 | <item name="android:colorPrimaryDark">@color/dialer_theme_color_dark</item> |
Yorke Lee | 0cbcae8 | 2014-07-21 11:37:53 -0700 | [diff] [blame] | 85 | <item name="android:popupMenuStyle">@style/InCallPopupMenuStyle</item> |
Andrew Lee | 3a7108a | 2014-08-25 12:19:35 -0700 | [diff] [blame] | 86 | <item name="android:actionBarStyle">@style/InCallActionBarStyle</item> |
Andrew Lee | 87f98d7 | 2015-01-13 13:19:50 -0800 | [diff] [blame] | 87 | <item name="android:buttonStyleToggle">@style/InCallCompoundButton</item> |
Yorke Lee | 3e0c5e0 | 2015-03-18 15:25:56 -0700 | [diff] [blame] | 88 | <item name="android:alertDialogTheme">@android:style/Theme.Material.Light.Dialog.Alert</item> |
Yorke Lee | 0cbcae8 | 2014-07-21 11:37:53 -0700 | [diff] [blame] | 89 | </style> |
| 90 | |
| 91 | <style name="InCallPopupMenuStyle" parent="@android:style/Theme.Material.Light"> |
| 92 | <item name="android:textColorPrimary">@color/popup_menu_color</item> |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 93 | </style> |
Andrew Lee | 3a7108a | 2014-08-25 12:19:35 -0700 | [diff] [blame] | 94 | |
| 95 | <style name="InCallActionBarStyle" parent="@android:style/Widget.Material.Light.ActionBar"> |
| 96 | <item name="android:background">@color/incall_action_bar_background_color</item> |
Christopher R. Palmer | f5f7d7b | 2015-12-15 06:36:10 -0500 | [diff] [blame] | 97 | <item name="android:backgroundStacked">@color/incall_banner_secondary_background_color</item> |
Andrew Lee | 3a7108a | 2014-08-25 12:19:35 -0700 | [diff] [blame] | 98 | <item name="android:textColor">@color/incall_action_bar_text_color</item> |
| 99 | </style> |
| 100 | |
Chiao Cheng | a44c591 | 2013-07-15 14:54:27 -0700 | [diff] [blame] | 101 | </resources> |