Skip to content

Unable to set Visibility in XML. #70

@AxeemHaider

Description

@AxeemHaider

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions