danylovolokh / VideoPlayerManager

This is a project designed to help controlling Android MediaPlayer class. It makes it easier to use MediaPlayer ListView and RecyclerView. Also it tracks the most visible item in scrolling list. When new item in the list become the most visible, this library gives an API to track it.
3.15k stars 747 forks source link

How to make every height of the list full screen #93

Open Bobyang912 opened 6 years ago

Bobyang912 commented 6 years ago

How to make every height of the list full screen? 如何让列表的每一项高度都占满屏幕?

Bobyang912 commented 6 years ago

找到了,在BaseVideoItem.java 中,注释下面两行即可 ViewGroup.LayoutParams layoutParams = view.getLayoutParams(); layoutParams.height = screenWidth;

chivne commented 6 years ago

Is this working?