Skip to content

Commit

Permalink
fix ijk content view
Browse files Browse the repository at this point in the history
  • Loading branch information
okcaptain committed May 15, 2024
1 parent 9215cf4 commit 6a4b5ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions app/src/leanback/res/layout/activity_video.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,9 @@
<tv.danmaku.ijk.media.player.ui.IjkVideoView
android:id="@+id/ijk"
style="@style/Player.Vod"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:visibility="gone" />

<master.flame.danmaku.ui.widget.DanmakuView
Expand Down
5 changes: 2 additions & 3 deletions ijkplayer/src/main/res/layout/ijk_player_view.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@

<FrameLayout
android:id="@+id/ijk_content_frame"
android:layout_gravity="center"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:id="@+id/ijk_artwork"
Expand Down

0 comments on commit 6a4b5ff

Please sign in to comment.