Add onClick to a button inside a custom status window

So, I have the following custom view in my status:

alt text

How to make buttons (1, 2, 3, 4) accessible using onClick functions?

Plus, how can I make an icon in the notification bar, since this is happening?

thank

+3
source share

Source: https://habr.com/ru/post/1786840/


All Articles