Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
e
os
Message
Commits
40f122e2
Commit
40f122e2
authored
Apr 21, 2022
by
narinder Rana
Browse files
update all icon and Text color on one place
parent
7a3dc4c1
Pipeline
#179749
passed with stage
in 4 minutes and 59 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
presentation/src/main/java/com/moez/QKSMS/feature/compose/editing/ComposeItemAdapter.kt
View file @
40f122e2
...
...
@@ -65,7 +65,9 @@ class ComposeItemAdapter @Inject constructor(
val
layoutInflater
=
LayoutInflater
.
from
(
parent
.
context
)
val
view
=
layoutInflater
.
inflate
(
R
.
layout
.
contact_list_item
,
parent
,
false
)
view
.
icon
.
setColorFilter
(
ContextCompat
.
getColor
(
parent
.
context
,
R
.
color
.
colorAccent
));
view
.
icon
.
setColorFilter
(
ContextCompat
.
getColor
(
parent
.
context
,
R
.
color
.
emphasis
));
view
.
index
.
setTextColor
(
ContextCompat
.
getColor
(
parent
.
context
,
R
.
color
.
emphasis
))
view
.
numbers
.
setRecycledViewPool
(
numbersViewPool
)
view
.
numbers
.
adapter
=
PhoneNumberAdapter
()
view
.
numbers
.
forwardTouches
(
view
)
...
...
presentation/src/main/res/values-night/colors.xml
View file @
40f122e2
...
...
@@ -3,5 +3,5 @@
<color
name=
"avatar_bg_color"
>
#292929
</color>
<color
name=
"avatar_icon_color"
>
#DEFFFFFF
</color>
<color
name=
"emphasis"
>
#DEFFFFFF
</color>
</resources>
\ No newline at end of file
presentation/src/main/res/values/colors.xml
View file @
40f122e2
...
...
@@ -80,6 +80,7 @@
<color
name=
"red_draft"
>
#FF5D5D
</color>
<color
name=
"avatar_bg_color"
>
#e0e0e0
</color>
<color
name=
"avatar_icon_color"
>
#383838
</color>
<color
name=
"emphasis"
>
#DE000000
</color>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment