{"action":"created","issue":{"url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/479","labels_url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/479/comments","events_url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/479/events","html_url":"https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/479","id":89209918,"number":479,"title":"Notification: Always display colored Status Icons","user":{"login":"SecUpwN","id":6000299,"avatar_url":"https://avatars.githubusercontent.com/u/6000299?v=3","gravatar_id":"","url":"https://api.github.com/users/SecUpwN","html_url":"https://github.com/SecUpwN","followers_url":"https://api.github.com/users/SecUpwN/followers","following_url":"https://api.github.com/users/SecUpwN/following{/other_user}","gists_url":"https://api.github.com/users/SecUpwN/gists{/gist_id}","starred_url":"https://api.github.com/users/SecUpwN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SecUpwN/subscriptions","organizations_url":"https://api.github.com/users/SecUpwN/orgs","repos_url":"https://api.github.com/users/SecUpwN/repos","events_url":"https://api.github.com/users/SecUpwN/events{/privacy}","received_events_url":"https://api.github.com/users/SecUpwN/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/labels/ENHANCEMENT","name":"ENHANCEMENT","color":"c7def8"},{"url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/labels/UI/UX","name":"UI/UX","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-18T06:13:44Z","updated_at":"2015-06-18T13:28:57Z","closed_at":null,"body":"I am currently testing Android 5.1.1 and my first impression is: Google, I *don't* like what you've done. But if you are like me and love to tinker with bleeding edge software and apps, you might love it. Issue: Our app displays the important Status Icons in a **tiny** and **whitish style**, likely automatically introduced by Material Design of the ROM (also related to #161). Thus, the core function of these Status Icons is gone.\r\n\r\n![we](https://cloud.githubusercontent.com/assets/6000299/8225141/6e8a5422-1580-11e5-836f-6ab5d7f02b8a.png)\r\n\r\nSince we have decided to not ride the wave of recoding everything for kindergarten Material Design, the best way to solve this Issue is to change our code in a way that enables the **color** of the Status Icons to be shown at all time. Other apps, such as [Trust](https://github.com/d4rken/trust) by @d4rken already accomplish that beautifully.\r\n\r\n![trust](https://cloud.githubusercontent.com/assets/6000299/8225145/7ee057fe-1580-11e5-99e2-6f726169a822.png)\r\n\r\nMaybe @d4rken can give us a hint on what needs to be changed so that our Status Icons will be displayed consistently in **color** even when Google should decide to craft another crazy OS design?\r\n\r\nEven @Avast is doing it the way I'd prefer our app to display its beauty.\r\n\r\n![avast](https://cloud.githubusercontent.com/assets/6000299/8225152/9b9664ba-1580-11e5-90a1-842b36e3836a.png)"},"comment":{"url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/comments/113155812","html_url":"https://github.com/SecUpwN/Android-IMSI-Catcher-Detector/issues/479#issuecomment-113155812","issue_url":"https://api.github.com/repos/SecUpwN/Android-IMSI-Catcher-Detector/issues/479","id":113155812,"user":{"login":"DJaeger","id":3408882,"avatar_url":"https://avatars.githubusercontent.com/u/3408882?v=3","gravatar_id":"","url":"https://api.github.com/users/DJaeger","html_url":"https://github.com/DJaeger","followers_url":"https://api.github.com/users/DJaeger/followers","following_url":"https://api.github.com/users/DJaeger/following{/other_user}","gists_url":"https://api.github.com/users/DJaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/DJaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DJaeger/subscriptions","organizations_url":"https://api.github.com/users/DJaeger/orgs","repos_url":"https://api.github.com/users/DJaeger/repos","events_url":"https://api.github.com/users/DJaeger/events{/privacy}","received_events_url":"https://api.github.com/users/DJaeger/received_events","type":"User","site_admin":false},"created_at":"2015-06-18T13:28:57Z","updated_at":"2015-06-18T13:28:57Z","body":"I had written a long comment, which got because of device shutdown.\nSo again:\nYou can set two diffent icons for notifications.\nA small icon (`setSmallIcon`) and a large icon (`setLargeIcon`).\nThe small icon is used for the statusbar, where you also find battery state and signal strenght.\nThe large icon is used for the notifications in opened (pulled down) list.\nIf only `setSmallIcon` is used this icon is shown on both places.\nThe documentation says that the icon in statusbar has to be white, which is ignored by the system except it is themed.\nLollipop (Android 5) takes care of this and makes it white by itself.\nIf one icon is defined for both, it seems it is white at both places.\nSo by defining different icons with `setSmallIcon` and also `setLargeIcon` you can set a full colored icon for notification list and a white icon for statusbar.\n\nYou should add \"real\" white icons out of the \"white_\" icons by making the transparent parts inside white and removing all other outsite.\nName them ic_stat_ as the naming convention says.\nYou could rename your Icon util method from `getIcon` to `getSmallIcon` and create a new method named `getLargeIcon` which only switches on `Status.getStatus()`.\nWith that you can use for example flat_ok for setLargeIcon and ic_stat_ok for setSmallIcon."}}