feat(android): Change subtitleLayout from child to sibling of layout (#3830)

This commit is contained in:
YangJH 2024-05-28 16:29:40 +09:00 committed by GitHub
parent c2a14240ad
commit c2cc917368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,10 +86,10 @@ public final class ExoPlayerView extends FrameLayout implements AdViewProvider {
adOverlayFrameLayout = new FrameLayout(context);
layout.addView(shutterView, 1, layoutParams);
layout.addView(subtitleLayout, 2, layoutParams);
layout.addView(adOverlayFrameLayout, 3, layoutParams);
layout.addView(adOverlayFrameLayout, 2, layoutParams);
addViewInLayout(layout, 0, aspectRatioParams);
addViewInLayout(subtitleLayout, 1, layoutParams);
}
private void clearVideoView() {