danylovolokh/VideoPlayerManager

How to make every height of the list full screen

Bobyang912 opened this issue · 2 comments

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

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

Is this working?