Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xabber-android
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
xabber-android
Commits
aed3ee23
Commit
aed3ee23
authored
Jun 19, 2015
by
Grigory Fedorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NotificationManager: persistent notification color moved to resources.
parent
fc913699
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
NotificationManager.java
...xabber/android/data/notification/NotificationManager.java
+1
-1
color_arrays.xml
app/src/main/res/values/color_arrays.xml
+2
-0
No files found.
app/src/main/java/com/xabber/android/data/notification/NotificationManager.java
View file @
aed3ee23
...
...
@@ -150,7 +150,7 @@ public class NotificationManager implements OnInitializedListener, OnAccountChan
messageNotificationCreator
=
new
MessageNotificationCreator
();
accountPainter
=
new
AccountPainter
(
application
);
persistentNotificationColor
=
application
.
getResources
().
getColor
(
R
.
color
.
red_500
);
persistentNotificationColor
=
application
.
getResources
().
getColor
(
R
.
color
.
persistent_notification_color
);
}
public
static
NotificationManager
getInstance
()
{
...
...
app/src/main/res/values/color_arrays.xml
View file @
aed3ee23
...
...
@@ -78,6 +78,8 @@
<item>
@color/teal_900
</item>
</array>
<color
name=
"persistent_notification_color"
>
@color/red_500
</color>
<color
name=
"color_primary_light"
>
@color/grey_200
</color>
<color
name=
"account_disabled"
>
@color/black_dividers
</color>
...
...
Write
Preview
Markdown
is supported
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