'How to put ads in Chrome custom tambs

using android Webview i'm able to size the height of a web page in my android app so i can put and ad below the webview and it works well but now i want to use Chrome custom tabs and they always use all the screen so i cannot put an add below it, my question is: is there a way to resize the space that custom tabs occupies or to add an ad at the bottom of it?



Solution 1:[1]

You can't do that. You can stick to WebView, it's highly customizable now than four years back. Or consider using Progressive Web App. This site may be helpful. https://web.dev/what-are-pwas/

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Moh'd Khamis Songoro