Tell me, what format and what size should the icons for the setSmallIcon () and setLargeIcon () methods be and where can I download them? Or are there standard icons in Android and where do they lie?

    2 answers 2

    In Android Studio, there are icons by default, how to add them here . There is also a very good and handy plugin that adds a huge number of icons and allows you to import your images into the drawable folder. At the expense of the size you do not have to worry as the android studio will create several icons with different resolutions and choose the size of the photo to choose, depending on the screen resolution of the device.

      setSmallIcon() requires a 24x24px icon, white on a transparent background.

      For setLargeIcon icons should be the same as the application icon - any color and size from 48x48px and further sizes for 1.5x, 2x, 3x, 4x.