googleads/googleads-mobile-android-examples

Bug: FullScreenNativeExample just shows some desert video, without any other Views

Closed this issue · 2 comments

This is all I can see on this sample when running it, no app-icon, no buttons, no texts...:

https://github.com/googleads/googleads-mobile-android-examples/tree/main/java/admob/FullScreenNativeExample

image

Looking at the layout, I'm not sure but I think the app-icon seems to be located in a weird place, too:

image

    implementation 'androidx.appcompat:appcompat:1.6.1'
    implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
    implementation 'androidx.recyclerview:recyclerview:1.3.2'
    implementation 'androidx.media3:media3-exoplayer:1.3.1'
    implementation 'androidx.media3:media3-exoplayer-dash:1.3.1'
    implementation 'androidx.media3:media3-ui:1.3.1'
    implementation 'androidx.media3:media3-session:1.3.1'
    implementation 'com.google.android.gms:play-services-ads:23.2.0'
    implementation 'androidx.media3:media3-common:1.3.1'

Hey, try scrolling down since its a recyclerView. You will observe the test ad (provided your setup is correct)

@s-kachroo Why would a full screen ad be in a RecyclerView? Doesn't make sense. Users won't know they need to scroll down in a video that is shown in full screen, let alone when there is no clue about it (such as a scrollbar).
What is the purpose of it being in a RecyclerView?

I've tested it now, and seems you are correct, but it causes it to be very slow and shows the issue I've written of, of the icon in a weird place. Also shows the validator window multiple times, sometimes even being cut in the screen.

image

Such a weird sample...
At least I know that it should work, when used better...