After upgrade to Android Pie, the "Cast" icon from the pull down menu has its function to mirror the phone screen to TV via Chromecast.
Which mode must the TV be on?
My phone is searching throughout but nothing is happening
I believe you would find solutions to casting your device via Chromecast on YouTube, just search.
It looks like you're new here. If you want to get involved, click one of these buttons!