For some reason everytime I push a notification the icon is really small compared to the other notification icons. I’m wondering if corona supports “IconNotificationDefault-xxxhdpi”? I’m thinking it doesn’t and that is why my icon is small because it’s using the “IconNotificationDefault-xxhdpi” or “IconNotificationDefault-xhdpi” icon?
We don’t support the xxxhdpi icons for notifications yet. Engineering didn’t give me an ETA.
Rob
We’ve added xxhdpi and xxxhdpi notification icon support as of daily build #2490, which is available now.
For Corona Simulator builds, you can add these high resolution icons to your project by adding the following files:
- IconNotificationDefault-xxhdpi-v11.png (Must be 72x72 pixels.)
- IconNotificationDefault-xxxhdpi-v11.png (Must be 96x96 pixels.)
You do not need “-v9” or older icons since xxhdpi support was added to Android 4.1 (aka: API Level 16), so, you only need to support the white themed notification icons.
For Corona Enterprise, you just need to override our “corona_statusbar_icon_default.png” under the “res\xxhdpi-v11” and “res\xxxhdpi-v11” directories in your project, just like how you do it for the other notification icons.
If there is only one series needed, you might want to update your documentation. It still says I need 3 series, one white, one gray, and I guess one that is just like the icon.
do I still need to put -v11 if there is only one series?
I’ve added the new icons but I still haven’t seen them work.
I’m using the current public build which is 2511, so that should have the changes, right?
I recommend that you include all 3 series for now. If you skip a series, then Corona will end up using its default [!] notification icon. So, just replace them all.
http://docs.coronalabs.com/guide/events/appNotification/index.html#android-icons
The -v9 and -v11 series are absolutely needed because they are for Android 2.3 and 3.0+ respectively. Each series has a different color theme.
What color gray is the v9, you don’t specify and neither does the page you link to on google play. In fact, that link says just include white ones.
Is it simply .5, .5, .5?
To clarify, I’m talking about the link in the link you pasted in your post… this link: http://developer.android.com/design/style/iconography.html
Also, for the base series there is absolutely no design info, is this an icon that is in full color?
Edit: I found a place online that says the base series is supposed to be black. It would be good to add that to your documentation.
Ugh… Google has a bad habit of completely changing their documentation and making it less detailed in future revisions. They used to document what the colors are supposed to be, but not anymore. We’ll look into updating our guide later to include the documentation that Google took away.
If you have the Android SDK installed on your PC, then you can see example notification icons under the following directory…
./platforms/android-<api-level>/data/res/drawable-<dpi>/
The “stat_notify*.png” files are good examples of what a notification icon should be sized to and the color theme it should use.
-v11 notification icons should use a pure white theme.
-v9 notification icons should use grey, around RGB(128, 128, 128) and lighter. It doesn’t have to be exact.
older icons should be pure black to dark grey. It doesn’t have to be exact.
(Edit: I say it doesn’t have to be exact because notification icons tend to use gradients.)
Note that the top status bar on Android 2.3 (API Level 9) and higher is black.
The top status bar on Android 2.2 (API Level 8) is whitish (light grey), so, only black icons are legible.
We don’t support the xxxhdpi icons for notifications yet. Engineering didn’t give me an ETA.
Rob
We’ve added xxhdpi and xxxhdpi notification icon support as of daily build #2490, which is available now.
For Corona Simulator builds, you can add these high resolution icons to your project by adding the following files:
- IconNotificationDefault-xxhdpi-v11.png (Must be 72x72 pixels.)
- IconNotificationDefault-xxxhdpi-v11.png (Must be 96x96 pixels.)
You do not need “-v9” or older icons since xxhdpi support was added to Android 4.1 (aka: API Level 16), so, you only need to support the white themed notification icons.
For Corona Enterprise, you just need to override our “corona_statusbar_icon_default.png” under the “res\xxhdpi-v11” and “res\xxxhdpi-v11” directories in your project, just like how you do it for the other notification icons.
If there is only one series needed, you might want to update your documentation. It still says I need 3 series, one white, one gray, and I guess one that is just like the icon.
do I still need to put -v11 if there is only one series?
I’ve added the new icons but I still haven’t seen them work.
I’m using the current public build which is 2511, so that should have the changes, right?
I recommend that you include all 3 series for now. If you skip a series, then Corona will end up using its default [!] notification icon. So, just replace them all.
http://docs.coronalabs.com/guide/events/appNotification/index.html#android-icons
The -v9 and -v11 series are absolutely needed because they are for Android 2.3 and 3.0+ respectively. Each series has a different color theme.
What color gray is the v9, you don’t specify and neither does the page you link to on google play. In fact, that link says just include white ones.
Is it simply .5, .5, .5?
To clarify, I’m talking about the link in the link you pasted in your post… this link: http://developer.android.com/design/style/iconography.html
Also, for the base series there is absolutely no design info, is this an icon that is in full color?
Edit: I found a place online that says the base series is supposed to be black. It would be good to add that to your documentation.
Ugh… Google has a bad habit of completely changing their documentation and making it less detailed in future revisions. They used to document what the colors are supposed to be, but not anymore. We’ll look into updating our guide later to include the documentation that Google took away.
If you have the Android SDK installed on your PC, then you can see example notification icons under the following directory…
./platforms/android-<api-level>/data/res/drawable-<dpi>/
The “stat_notify*.png” files are good examples of what a notification icon should be sized to and the color theme it should use.
-v11 notification icons should use a pure white theme.
-v9 notification icons should use grey, around RGB(128, 128, 128) and lighter. It doesn’t have to be exact.
older icons should be pure black to dark grey. It doesn’t have to be exact.
(Edit: I say it doesn’t have to be exact because notification icons tend to use gradients.)
Note that the top status bar on Android 2.3 (API Level 9) and higher is black.
The top status bar on Android 2.2 (API Level 8) is whitish (light grey), so, only black icons are legible.