Update OMS patches
[GitHub/Stricted/android_vendor_extra.git] / patches / packages / apps / Dialer / 0001-Themes-Separate-background-color-from-text-color.patch
1 From b9dfa05a56d9f40b001fc6adb8a29d5656c0d51a Mon Sep 17 00:00:00 2001
2 From: Alex Cruz <mazdarider23@gmail.com>
3 Date: Thu, 5 May 2016 11:55:05 -0500
4 Subject: [PATCH 1/2] Themes: Separate background color from text color
5
6 Change-Id: I19e55b64e34cb069f1967a900fd19b118c392244
7 ---
8 res/layout/voicemail_promo_card.xml | 4 ++--
9 res/values/projekt_colors.xml | 20 ++++++++++++++++++++
10 2 files changed, 22 insertions(+), 2 deletions(-)
11 create mode 100644 res/values/projekt_colors.xml
12
13 diff --git a/res/layout/voicemail_promo_card.xml b/res/layout/voicemail_promo_card.xml
14 index ba4ac59a7..9dc7850b8 100644
15 --- a/res/layout/voicemail_promo_card.xml
16 +++ b/res/layout/voicemail_promo_card.xml
17 @@ -46,7 +46,7 @@
18 android:layout_height="wrap_content"
19 android:layout_marginBottom="@dimen/promo_card_title_padding"
20 android:layout_gravity="center_vertical"
21 - android:textColor="@color/background_dialer_white"
22 + android:textColor="@color/promo_card_header_text_color"
23 android:textSize="@dimen/call_log_primary_text_size"
24 android:textStyle="bold"
25 android:text="@string/visual_voicemail_title"
26 @@ -56,7 +56,7 @@
27 android:id="@+id/promo_card_details"
28 android:layout_width="wrap_content"
29 android:layout_height="wrap_content"
30 - android:textColor="@color/background_dialer_white"
31 + android:textColor="@color/promo_card_details_text_color"
32 android:textSize="@dimen/call_log_detail_text_size"
33 android:text="@string/visual_voicemail_text"
34 android:lineSpacingExtra="@dimen/promo_card_line_spacing"
35 diff --git a/res/values/projekt_colors.xml b/res/values/projekt_colors.xml
36 new file mode 100644
37 index 000000000..4e4689433
38 --- /dev/null
39 +++ b/res/values/projekt_colors.xml
40 @@ -0,0 +1,20 @@
41 +<?xml version="1.0" encoding="utf-8"?>
42 +<!--
43 + Copyright (C) 2016-2017 Projekt Substratum
44 +
45 + Licensed under the Apache License, Version 2.0 (the "License");
46 + you may not use this file except in compliance with the License.
47 + You may obtain a copy of the License at
48 +
49 + http://www.apache.org/licenses/LICENSE-2.0
50 +
51 + Unless required by applicable law or agreed to in writing, software
52 + distributed under the License is distributed on an "AS IS" BASIS,
53 + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
54 + See the License for the specific language governing permissions and
55 + limitations under the License.
56 +-->
57 +<resources>
58 + <color name="promo_card_header_text_color">@color/background_dialer_white</color>
59 + <color name="promo_card_details_text_color">@color/background_dialer_white</color>
60 +</resources>
61 --
62 2.11.1
63