[mobile] update dev

pull/123/head
FongMi 3 years ago
parent af82455e0a
commit 23616a4793
  1. 5
      app/src/mobile/java/com/fongmi/android/tv/ui/custom/CustomKeyDownVod.java

@ -36,8 +36,9 @@ public class CustomKeyDownVod extends GestureDetector.SimpleOnGestureListener {
@Override
public boolean onDown(@NonNull MotionEvent e) {
int width = ResUtil.getScreenWidthPx();
int edgeX = (int) Math.abs(e.getX() - width);
touch = e.getX() > 200 && edgeX > 200;
float downX = e.getX() > width ? width : e.getX();
float edgeX = Math.abs(downX - width);
touch = e.getX() > 100 && edgeX > 0;
seek = false;
return true;
}

Loading…
Cancel
Save