Hi So I've created An intercept from low battery notification and I'm not able to under how to make the buttons work. I've made the buttons and they show up to but they are not clickable. Can anyone guide me? I've made this profile just to learn AN.
Ok I've got the custom button to work but my problem now is that I don't want to change the default buttons behaviour (button 1) how do I keep the default behaviour?
You should use the button's action as your own notification button's action Something like this: http://forum.joaoapps.com/index.php...ification-thumbs-up-on-google-play-music.140/ Hope this helps!
Thanks I got it to work. I've two questions though 1. On clicking the button the notification doesn't collapse. How do I do it? 2. It is possible to have the notification appear as a banner? (Banner means the notification stays persistent for 2-3 seconds on your screen)
What do you mean by "collapse" exactly? Set the priority to high and give it a vibration pattern and sound Hope this helps!
Thanks a lot got it to work. Collapse means to dismiss when I click on the button but I got it to work