In Android 5.0, the small notification icon must be the size below. Otherwise the icon will be displayed as a blank square.
- 18px(ldpi)
- 24px(mdpi)
- 36px(hdpi)
- 48px(xhdpi)
- 72px(xxhdpi)
- 96px(xxxhdpi)
it's 24dp size with a 2dp padding , means 20dp content
px = dp * (dpi/160)
Reference:
http://stackoverflow.com/questions/4265595/android-status-bar-expects-icons-of-size-25x25dp-while-guidelines-recommend-32x3