can someone please help me? I've been looking everywhere for an answer to this, but I didn't find one. I want to know how to do that you can press on a menu item(square number 1 in the picture), and then it opens up a popup menu(square number 2), and then it has an option with text and next to it a switch button(square number 3 in the picture)?
I didn't find an article/question that explains how to do a popup menu that has an option with a switch button. I would be very happy if someone can help me with this. thanks a lot. Example