How to prevent ad to auto take the focus? (JAVA)

13 views
Skip to first unread message

Shahar Ice

unread,
Jun 23, 2024, 11:53:46 AM (6 days ago) Jun 23
to Interactive Media Ads SDK
I'm using the IMA SDK to play ads on the top left of the screen, it works for me but when ad starts playing the focus switches to the ad.
This is an issue for me since it disturbing the user expericence, please share a method how to disable this behavior.
I tried setting this by it still doesn't work:
<!-- IMA SDK Layout -->
<RelativeLayout
android:id="@+id/videoPlayerContainer"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusable="false"
android:focusableInTouchMode="false"
android:focusedByDefault="false"
android:defaultFocusHighlightEnabled="false"
>

<VideoView
android:id="@+id/videoView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:focusableInTouchMode="false"
android:focusedByDefault="false"
android:defaultFocusHighlightEnabled="false"/>
</RelativeLayout>

IMA SDK

unread,
Jun 24, 2024, 11:30:03 AM (5 days ago) Jun 24
to shahari...@gmail.com, ima...@googlegroups.com
Hi,

Thank you for contacting IMA SDK support team.

Are you facing this issue android TV ? Could you provide any sample recording and VAST tag to us for further investigation ?
You can provide info in this link and reply back once provided.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02tJRXT:ref" (ADR-00243487)

Thanks,
 
Google Logo IMA SDK Team


Reply all
Reply to author
Forward
0 new messages