summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/theme/base/res/values/styles_dialer_light.xml
blob: cfdee7801aa2e02b648f03d915ce8fbcad8ed870 (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
<!--
  ~ Copyright (C) 2012 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>
  <!-- TODO(a bug): properly document this or delete it -->
  <!-- We don't want to style this, need to discuss with Yen why this was used instead of a default theme -->
  <style name="Theme.PreCall.DialogHolder" parent="Dialer.ThemeBase.NoActionBar">
    <item name="android:windowBackground">@android:color/transparent</item>
    <item name="android:windowActivityTransitions">false</item>
    <item name="android:windowIsTranslucent">true</item>

    <item name="android:statusBarColor">@android:color/transparent</item>
    <item name="android:navigationBarColor">@android:color/transparent</item>
    <item name="android:windowDrawsSystemBarBackgrounds">true</item>
  </style>

  <!-- Style applied to the "Settings" screen.  Keep in sync with SettingsLight in Telephony. -->
  <style name="SettingsStyle" parent="Dialer.ThemeBase.ActionBar">
    <!-- Setting text. -->
    <item name="android:textColorPrimary">@color/settings_text_color_primary</item>
    <!-- Setting description. -->
    <item name="android:textColorSecondary">@color/settings_text_color_secondary</item>
    <item name="android:windowBackground">?android:attr/colorBackground</item>
    <item name="android:colorAccent">?android:attr/colorPrimary</item>
    <item name="android:textColorLink">?android:attr/colorPrimary</item>
  </style>

  <!-- TODO(a bug): This is only actively used in empty_content_view.xml. Move it there. -->
  <style name="TextActionStyle">
    <item name="android:layout_width">wrap_content</item>
    <item name="android:layout_height">@dimen/call_log_action_height</item>
    <item name="android:gravity">end|center_vertical</item>
    <item name="android:paddingStart">@dimen/call_log_action_horizontal_padding</item>
    <item name="android:paddingEnd">@dimen/call_log_action_horizontal_padding</item>
    <item name="android:textColor">?android:attr/colorPrimary</item>
    <item name="android:fontFamily">sans-serif-medium</item>
    <item name="android:focusable">true</item>
    <item name="android:singleLine">true</item>
    <item name="android:textAllCaps">true</item>
  </style>
</resources>