[Next-Gen SDK Beta 04] Close button unclickable on Rewarded/Interstitial (Android 13 to 15)

129 views
Skip to first unread message

Huy Nguyen Quang

unread,
Dec 26, 2025, 5:14:38 AM12/26/25
to Google Mobile Ads SDK Developers

Environment:

  • SDK Version: Google Mobile Ads Next-Gen SDK 0.22.0-beta04

  • Android Versions: Android 13 (API 33) to Android 15 (API 35)

  • Ad Formats: Rewarded Ads & Interstitial Ads (Both affected)

Description of the Issue: I am migrating to the Next-Gen SDK (Beta), but I am encountering a critical blocking issue across devices running Android 13 through Android 15.

  1. Unclickable Close Button: The close button (Top-Right) appears to be rendered underneath the system Status Bar. User clicks in that area are intercepted by the system or ignored, making it impossible to close the ad. This behavior is consistent across both Rewarded and Interstitial ads.

  2. Layout Artifacts: When enabling "Show Layout Bounds" in Developer Options, I observe a large "X" mark across the Ad view. This suggests that the SurfaceView or internal layout is being clipped or scaled incorrectly within the Window Insets on these Android versions.

Root Cause Analysis: The Next-Gen SDK uses com.google.android.libraries.ads.mobile.sdk.common.AdActivity with the legacy theme @android:style/Theme.Translucent (identified in the Merged Manifest). This legacy theme does not seem to handle the modern Window Insets or Edge-to-Edge enforcement correctly on API 33+, causing the ad content to draw under system bars without the necessary insets/padding for the Close button.

Attempted Fixes (All Failed): I have attempted to force the correct window behavior via AndroidManifest.xml overrides and ActivityLifecycleCallbacks (forcing setDecorFitsSystemWindows(true) and windowLayoutInDisplayCutoutMode="never"), but the SDK appears to override these settings internally at runtime.

Question: Is there a specific configuration required for v0.22.0-beta04 to ensure the Close button is clickable on Android 13+ devices? Or is this a known regression compared to the stable play-services-ads SDK?

Any guidance would be appreciated. Thanks!

Mobile Ads SDK Forum Advisor

unread,
Dec 26, 2025, 1:18:57 PM12/26/25
to google-adm...@googlegroups.com

Hi,

Thank you for reaching out to the Mobile Ads SDK Support Team.

I have verified that the close button displays correctly on both Pixel 8 and Pixel 9 Pro devices running API levels 35 and 36 when using version 0.22.0-beta04. To help us investigate further, could you please test our official Google sample project and confirm if the issue persists there? If yes, kindly share your sample project. Additionally, could you let us know if this behavior is specific to any particular devices.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

1. Navigate to https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=500Ht00001wnPkcIAE&entry.80707362=00348313

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.


Thanks,
 
Google Logo Mobile Ads SDK Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-12-26 18:18:02Z GMT] This message is in relation to case "ref:!00D1U01174p.!500Ht01wnPkc:ref" (ADR-00348313)



Reply all
Reply to author
Forward
0 new messages