hide video controller when hiding top bar
This commit is contained in:
parent
e905f412fb
commit
be2ba9a7cd
|
@ -329,6 +329,8 @@ public class MediaActivity extends BaseActivity implements OnDownloadInterface {
|
|||
if (media_description.getVisibility() == View.VISIBLE) {
|
||||
media_description.setVisibility(View.GONE);
|
||||
}
|
||||
if (videoView.getVisibility() == View.VISIBLE)
|
||||
videoView.hideController();
|
||||
}
|
||||
} else {
|
||||
action_bar_container.setVisibility(View.VISIBLE);
|
||||
|
@ -341,6 +343,8 @@ public class MediaActivity extends BaseActivity implements OnDownloadInterface {
|
|||
media_description.setText("");
|
||||
media_description.setVisibility(View.GONE);
|
||||
}
|
||||
if (videoView.getVisibility() == View.VISIBLE)
|
||||
videoView.showController();
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue