Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーがWebビューを一番下までスクロールした後にのみadmob広告を表示する方法はありますか? コンテンツをブロックするか、表示領域を縮小するため、webview の上に表示したくありません。XML を変更するにはどうすればよいですか?
以下を使用して webView コンテンツの高さを取得します。
int height = (int) Math.floor(webView.getContentHeight() * webView.getScale());
loadAd()