0

I have custom notification with linear layout that contains four image buttons.

I set the linear layout background color to transparent color #00000000 and also i set the background color of the four image buttons to transparent color #00000000.

As Expected, According to the transparent color of linear layout and image buttons, my custom notification background color must match the emulator notification background color(almost gray).

but actually the background of notification is still black.

My minimum sdk is 11 and target is 19

Note that the other previous questions not solved my problem.

Thanks in advance, Mostafa.

mostafa_fci
  • 103
  • 2
  • 9

1 Answers1

0

Try to use in your XML file

    android:background="@android:color/transparent"

instead of #00000000

Sami Eltamawy
  • 9,874
  • 8
  • 48
  • 66