Skip to content

Commit 0d107f7

Browse files
Thyrus11nicholaschum
authored andcommitted
Themes: Make dialpad seperator line theme-able
Using an existing value in colors is defined (dialpad_seperator_line_color) in AOSP, but overwritten in layout Changed the original commit's color name due to layout was #e3e3e3 and dialpad_seperator_line_color is #dadada Change-Id: Ia4b610185bac6c34e0f6bd1b00a6f0c0480d5ee0
1 parent 421fcce commit 0d107f7

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed

res/layout/dialpad_view_unthemed.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
<View
5757
android:layout_width="match_parent"
5858
android:layout_height="1dp"
59-
android:background="#e3e3e3" />
59+
android:background="@color/dialpad_separator_color" />
6060

6161
</LinearLayout>
6262

@@ -131,7 +131,7 @@
131131
<View
132132
android:layout_width="match_parent"
133133
android:layout_height="1dp"
134-
android:background="#e3e3e3" />
134+
android:background="@color/dialpad_separator_color" />
135135

136136
<Space
137137
android:layout_width="match_parent"

res/values/projekt_colors.xml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!--
3+
Copyright (c) 2016 Project Substratum
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+
<color name="dialpad_separator_color">#e3e3e3</color>
20+
</resources>

0 commit comments

Comments
 (0)