Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
InstiApp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
RAHUL SHARMA
InstiApp
Commits
f81fe80e
Commit
f81fe80e
authored
Jul 11, 2018
by
Varun Patil
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make notifications icon white
parent
1e658043
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
2 deletions
+11
-2
app/src/main/java/app/insti/gcm/MyGcmListenerService.java
app/src/main/java/app/insti/gcm/MyGcmListenerService.java
+1
-1
app/src/main/res/drawable-hdpi/ic_notifications_black_24dp.png
...rc/main/res/drawable-hdpi/ic_notifications_black_24dp.png
+0
-0
app/src/main/res/drawable-mdpi/ic_notifications_black_24dp.png
...rc/main/res/drawable-mdpi/ic_notifications_black_24dp.png
+0
-0
app/src/main/res/drawable-xhdpi/ic_notifications_black_24dp.png
...c/main/res/drawable-xhdpi/ic_notifications_black_24dp.png
+0
-0
app/src/main/res/drawable-xxhdpi/ic_notifications_black_24dp.png
.../main/res/drawable-xxhdpi/ic_notifications_black_24dp.png
+0
-0
app/src/main/res/drawable-xxxhdpi/ic_notifications_black_24dp.png
...main/res/drawable-xxxhdpi/ic_notifications_black_24dp.png
+0
-0
app/src/main/res/drawable/ic_notifications_white_24dp.xml
app/src/main/res/drawable/ic_notifications_white_24dp.xml
+9
-0
app/src/main/res/menu/main.xml
app/src/main/res/menu/main.xml
+1
-1
No files found.
app/src/main/java/app/insti/gcm/MyGcmListenerService.java
View file @
f81fe80e
...
@@ -35,7 +35,7 @@ public class MyGcmListenerService extends GcmListenerService {
...
@@ -35,7 +35,7 @@ public class MyGcmListenerService extends GcmListenerService {
Uri
defaultSoundUri
=
RingtoneManager
.
getDefaultUri
(
RingtoneManager
.
TYPE_NOTIFICATION
);
Uri
defaultSoundUri
=
RingtoneManager
.
getDefaultUri
(
RingtoneManager
.
TYPE_NOTIFICATION
);
NotificationCompat
.
Builder
notificationBuilder
=
new
NotificationCompat
.
Builder
(
this
)
NotificationCompat
.
Builder
notificationBuilder
=
new
NotificationCompat
.
Builder
(
this
)
//TODO Change the notification icon
//TODO Change the notification icon
.
setSmallIcon
(
R
.
drawable
.
ic_notifications_
black
_24dp
)
.
setSmallIcon
(
R
.
drawable
.
ic_notifications_
white
_24dp
)
.
setContentTitle
(
"GCM Message"
)
.
setContentTitle
(
"GCM Message"
)
.
setContentText
(
message
)
.
setContentText
(
message
)
.
setAutoCancel
(
true
)
.
setAutoCancel
(
true
)
...
...
app/src/main/res/drawable-hdpi/ic_notifications_black_24dp.png
deleted
100644 → 0
View file @
1e658043
236 Bytes
app/src/main/res/drawable-mdpi/ic_notifications_black_24dp.png
deleted
100644 → 0
View file @
1e658043
179 Bytes
app/src/main/res/drawable-xhdpi/ic_notifications_black_24dp.png
deleted
100644 → 0
View file @
1e658043
272 Bytes
app/src/main/res/drawable-xxhdpi/ic_notifications_black_24dp.png
deleted
100644 → 0
View file @
1e658043
381 Bytes
app/src/main/res/drawable-xxxhdpi/ic_notifications_black_24dp.png
deleted
100644 → 0
View file @
1e658043
493 Bytes
app/src/main/res/drawable/ic_notifications_white_24dp.xml
0 → 100644
View file @
f81fe80e
<vector
xmlns:android=
"http://schemas.android.com/apk/res/android"
android:width=
"24dp"
android:height=
"24dp"
android:viewportWidth=
"24.0"
android:viewportHeight=
"24.0"
>
<path
android:fillColor=
"#FFFFFFFF"
android:pathData=
"M12,22c1.1,0 2,-0.9 2,-2h-4c0,1.1 0.89,2 2,2zM18,16v-5c0,-3.07 -1.64,-5.64 -4.5,-6.32L13.5,4c0,-0.83 -0.67,-1.5 -1.5,-1.5s-1.5,0.67 -1.5,1.5v0.68C7.63,5.36 6,7.92 6,11v5l-2,2v1h16v-1l-2,-2z"
/>
</vector>
app/src/main/res/menu/main.xml
View file @
f81fe80e
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
xmlns:app=
"http://schemas.android.com/apk/res-auto"
>
<item
<item
android:id=
"@+id/action_notifications"
android:id=
"@+id/action_notifications"
android:icon=
"@drawable/ic_notifications_
black
_24dp"
android:icon=
"@drawable/ic_notifications_
white
_24dp"
android:orderInCategory=
"1"
android:orderInCategory=
"1"
android:title=
"Notifications"
android:title=
"Notifications"
app:showAsAction=
"always"
/>
app:showAsAction=
"always"
/>
...
...
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