Skip to content

Commit

Permalink
feat(android): Change subtitleLayout from child to sibling of layout (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
YangJonghun authored May 28, 2024
1 parent c2a1424 commit c2cc917
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ public ExoPlayerView(Context context, AttributeSet attrs, int defStyleAttr) {
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() {
Expand Down

0 comments on commit c2cc917

Please sign in to comment.