https://kotlinlang.org logo
#compose
Title
# compose
k

Khush

03/11/2024, 2:06 PM
Hello all I just wanted to know if is it possible to make a composable and put it in a custom notification? If yes then please can you guide me on how to implement it?
z

Zach Klippenstein (he/him) [MOD]

03/11/2024, 4:14 PM
You can’t put custom views inside system notifications, so no
k

Khush

03/12/2024, 5:03 AM
Okay but by creating the RemoteViews it is possible I guess. But in RemoteViews it asks for a xml file but instead of that I want that design from composable.
z

Zach Klippenstein (he/him) [MOD]

03/12/2024, 3:50 PM
Yes you can’t put custom views inside remote views
k

Khush

03/13/2024, 5:39 AM
Okay
Thank you for the help.
2 Views