summaryrefslogtreecommitdiff
path: root/java/com/android/dialer/callstats/res/values/styles.xml
blob: 3aae79757d223e1f2ee27d9e7dd0dca5486dffca (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
<!--
  ~ Copyright (C) 2018 The LineageOS 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>
  <style name="CallStatsBarStyle">
    <item name="android:layout_height">4dp</item>
    <item name="android:layout_marginTop">6dp</item>
    <item name="android:layout_marginBottom">6dp</item>
    <item name="android:orientation">horizontal</item>
    <item name="backgroundColor">@color/call_stats_bar_background</item>
    <item name="blueColor">@color/answered_incoming_call</item>
    <item name="greenColor">@color/answered_outgoing_call</item>
    <item name="redColor">@color/missed_call</item>
    <item name="orangeColor">@color/blocked_call</item>
  </style>

  <style name="TextAppearance.CallStatsCategoryTitle" parent="TextAppearance.AppCompat.Body2">
    <item name="android:textAllCaps">true</item>
    <item name="android:textSize">11sp</item>
    <!-- 0.8 Spacing, 0.8/11 = 0.072727273 -->
    <item name="android:letterSpacing">0.072727273</item>
  </style>
</resources>