VideoPlayerManager icon indicating copy to clipboard operation
VideoPlayerManager copied to clipboard

Unable to set Visibility in XML.

Open AxeemHaider opened this issue 7 years ago • 1 comments

I try to set the visibility of view in XML file but when I run application it give error

InflateException: Binary XML file line #79: Error inflating class com.volokh.danylo.video_player_manager.ui.VideoPlayerView

Here is my XML code

<com.volokh.danylo.video_player_manager.ui.VideoPlayerView android:id="@+id/vvFeedVideo" android:layout_width="match_parent" android:layout_height="match_parent" android:visibility="gone"/>

I try to set visibility in Java class there it's working fine.

vvFeedVideo.setVisibility(View.GONE)

AxeemHaider avatar Aug 05 '17 04:08 AxeemHaider

You can use ViewGroup to wrap that videoview

Stone305585 avatar Aug 21 '18 08:08 Stone305585