pull/362/head
FongMi 2 years ago
parent 9a30f57c16
commit 9e8463ce56
  1. 2
      app/src/mobile/java/com/fongmi/android/tv/ui/activity/LiveActivity.java

@ -160,6 +160,7 @@ public class LiveActivity extends BaseActivity implements CustomKeyDownLive.List
mKeyDown = CustomKeyDownLive.create(this, mBinding.video);
mClock = Clock.create(mBinding.widget.time);
setPadding(mBinding.control.getRoot());
setPadding(mBinding.widget.epg, true);
setPadding(mBinding.recycler, true);
mPlayers = new Players().init(this);
mObserveEpg = this::setEpg;
@ -1025,6 +1026,7 @@ public class LiveActivity extends BaseActivity implements CustomKeyDownLive.List
@Override
public void onDoubleTap() {
if (isVisible(mBinding.recycler)) hideUI();
else if (isVisible(mBinding.widget.epg)) hideEpg();
else if (isVisible(mBinding.control.getRoot())) hideControl();
else showControl();
}

Loading…
Cancel
Save