简体   繁体   中英

how to place a button over the android browser

I want to write a android service which monitors if the browser is running. if so, place a button over the bottom of the browser like an overlay. Clicking on it will open another activity. Am wondering how to do it.

The WebView is just a view. You can position another view, such as a button, over the top of it with a RelativeLayout. If you're talking about putting a button over the default system web browser, however, I have no help at all for you.

使用可以在您的服务中使用自定义AlertDialog

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM