summaryrefslogtreecommitdiff
path: root/InCallUI/res/values/colors.xml
blob: 238d360335c2d84f259c3dd99451e0808e37a79d (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2013 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>

    <!-- In-call UI background color. -->
    <color name="incall_background_color">@color/dialer_theme_color</color>
    <color name="incall_accent_color">#ffffff</color>

    <!-- Background color of main banner. -->
    <color name="incall_call_banner_background_color">@color/incall_background_color</color>
    <color name="incall_call_banner_text_color">#ffffff</color>
    <!-- 100% opacity, white -->
    <color name="incall_call_banner_subtext_color">#ffffff</color>
    <color name="incall_banner_secondary_background_color">#f5f5f5</color>
    <color name="incall_banner_secondary_text_color">#333333</color>

    <color name="incall_action_bar_background_color">@color/incall_background_color</color>
    <color name="incall_action_bar_text_color">@color/incall_call_banner_text_color</color>

    <color name="incall_photo_background_color">#545454</color>

    <!-- Put on top of each photo, implying 80% darker than usual. -->
    <color name="on_hold_dim_effect">#cc000000</color>

    <color name="conference_call_manager_background_color">#f8f8f8</color>
    <color name="conference_call_manager_caller_name_text_color">#4d4d4d</color>
    <color name="conference_call_manager_icon_color">#999999</color>
    <!-- Used with some smaller texts in manage conference screen. -->
    <color name="conference_call_manager_secondary_text_color">#999999</color>
    <color name="secondary_call_info_divider_highlight_color">#ffffff</color>

    <color name="end_call_touch_feedback_tint">#dddddd</color>

    <!-- Color of dialpad digits -->
    <color name="dialpad_digits_text_color">#333</color>

    <color name="incall_dialpad_background">#ffffff</color>
    <color name="incall_dialpad_background_pressed">#ccaaaaaa</color>

    <color name="button_background_color">@color/incall_background_color</color>
    <color name="button_selected_color">@color/dialer_theme_color_dark</color>
    <!-- 70% opacity, white. -->
    <color name="button_default_color">#b3ffffff</color>
    <!-- 20% opacity, white. -->
    <color name="button_disabled_color">#33ffffff</color>

    <!-- Background color of action bars -->
    <color name="actionbar_background_color">@color/dialer_theme_color</color>
    <!-- Background color for status bar. For portrait this will be ignored. -->
    <color name="statusbar_background_color">@color/dialer_theme_color</color>

    <color name="translucent_shadow">#33999999</color>

    <!-- 70% opacity, black. -->
    <color name="glowpad_background_color">#b3000000</color>
    <!-- 15% opacity, white. -->
    <color name="glowpad_outer_ring_color">#26ffffff</color>
    <color name="glowpad_text_widget_ring_color">#ffffff</color>
    <color name="glowpad_widget_active_color">#ffffff</color>
    <color name="glowpad_text_widget_normal_tint">#cccccc</color>
    <color name="glowpad_call_widget_normal_tint">#00c853</color>
    <color name="glowpad_end_call_widget_normal_tint">#ff1744</color>
    <color name="glowpad_incoming_widget_tint">#a3a3a3</color>
    <color name="glowpad_incoming_widget_background_tint">#ffffff</color>

    <!-- 70% opacity, white. -->
    <color name="accessible_answer_hint_text_color">#B2FFFFFF</color>

    <!-- 20% opacity, theme color. -->
    <color name="incall_dialpad_touch_tint">#330288d1</color>

    <!-- Background colors for InCallUI. This set of colors is a subset of
        https://spec.googleplex.com/quantumpalette#extended which pass WCAG AA and all have a
        contrast ratio over 5:1.

        These colors are also used by InCallUIMaterialColorMapUtils to generate primary
        activity colors.
    -->
    <array name="background_colors">
        <item>#00796B</item>
        <item>#3367D6</item>
        <item>#303F9F</item>
        <item>#7B1FA2</item>
        <item>#C2185B</item>
        <item>#C53929</item>
        <item>#A52714</item>
    </array>

    <!-- Darker versions of background_colors, two shades darker. These colors are used for the
         status bar. -->
    <array name="background_colors_dark">
        <item>#00695C</item>
        <item>#2A56C6</item>
        <item>#283593</item>
        <item>#6A1B9A</item>
        <item>#AD1457</item>
        <item>#B93221</item>
        <item>#841F10</item>
    </array>

    <!-- Background color for spam. This color must match one of background_colors above. -->
    <color name="incall_call_spam_background_color">#A52714</color>

    <!-- Ripple color used over light backgrounds. -->
    <color name="ripple_light">#40000000</color>

    <color name="contact_context_title_text_color">@color/incall_call_banner_subtext_color</color>
    <color name="person_contact_context_message_text_color">@color/dialer_theme_color</color>
    <color name="person_contact_context_message_background_color">@color/incall_call_banner_subtext_color</color>
    <color name="person_contact_context_detail_text_color">@color/incall_call_banner_subtext_color</color>
    <color name="business_contact_context_text_color">@color/incall_call_banner_subtext_color</color>

    <!-- White background for dialer -->
    <color name="background_dialer_white">#ffffff</color>

    <!-- Background color for large notification icon in after call from unknown numbers -->
    <color name="unknown_number_color">#919191</color>
</resources>