Skip to content

Commit

Permalink
Set ad overlay padding to 10px
Browse files Browse the repository at this point in the history
  • Loading branch information
armands-malejevs committed May 8, 2023
1 parent 4acb828 commit 4eb18f1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public ExoPlayerView(Context context, AttributeSet attrs, int defStyleAttr) {
LayoutParams.MATCH_PARENT);
adOverlayFrameLayout = new FrameLayout(getContext());
adOverlayFrameLayout.setLayoutParams(adOverlayLayoutParams);
adOverlayFrameLayout.setPadding(0, 10, 0, 10);

addViewInLayout(layout, 0, aspectRatioParams);
addViewInLayout(adOverlayFrameLayout, 1, adOverlayLayoutParams);
Expand Down

0 comments on commit 4eb18f1

Please sign in to comment.