I am trying to use the Notification.Builder.setLargeIcon(bitmap) that takes a bitmap image. I have the image I want to use in my drawable folder so how do I con
Notification.Builder.setLargeIcon(bitmap)
In res/drawable folder,
res/drawable
1. Create a new Drawable Resources.
Drawable Resources
2. Input file name.
A new file will be created inside the res/drawable folder.
Replace this code inside the newly created file and replace ic_action_back with your drawable file name.
ic_action_back
Now, you can use it with Resource ID, R.id.filename.
R.id.filename