Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Enhancement: Add an option for different notification icon #31

Open
orelzion opened this issue Feb 15, 2017 · 1 comment
Open

Enhancement: Add an option for different notification icon #31

orelzion opened this issue Feb 15, 2017 · 1 comment

Comments

@orelzion
Copy link

Currently, users see an alert icon which is most of the time the wrong icon to show

You should really add an option to change the small notification icon

@VihaanVerma89
Copy link

This project seems scraped if you have a look at their commit graph. I was almost 80% done when I came across two issues

  1. App notification icons are not configurable
  2. In app message image is not displayed properly since it is centre cropped.

Fix:

  1. import the github project and add
    compile project(path: ':notifications')
    in your build.gradle
  2. Open NotificationManager.java file and add your own notification icon.
  3. Open BitmapAssetHandler and comment
    // imageView.setScaleType(ImageView.ScaleType.FIT_CENTER);

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants