From abe8d7ea62504d18a7e67ef1243db4e17f673183 Mon Sep 17 00:00:00 2001 From: Devlin Chiu Date: Tue, 29 May 2018 17:38:58 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=88=AA=E5=9B=BE=E6=96=B9=E6=B3=95?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=88=B0MediaPlayerControl=E4=B8=AD=EF=BC=8C?= =?UTF-8?q?=E4=BD=BF=E5=85=B6=E5=9C=A8controller=E4=B8=AD=E4=B9=9F?= =?UTF-8?q?=E8=83=BD=E8=B0=83=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../dueeeke/dkplayer/activity/api/PlayerActivity.java | 4 ++-- app/src/main/res/layout/activity_player.xml | 10 +++++----- .../videoplayer/controller/MediaPlayerControl.java | 4 ++++ .../com/dueeeke/videoplayer/player/IjkVideoView.java | 1 + 4 files changed, 12 insertions(+), 7 deletions(-) diff --git a/app/src/main/java/com/dueeeke/dkplayer/activity/api/PlayerActivity.java b/app/src/main/java/com/dueeeke/dkplayer/activity/api/PlayerActivity.java index 5d606fe5..96a5b379 100644 --- a/app/src/main/java/com/dueeeke/dkplayer/activity/api/PlayerActivity.java +++ b/app/src/main/java/com/dueeeke/dkplayer/activity/api/PlayerActivity.java @@ -119,8 +119,8 @@ public void setMirrorRotate(View view) { i++; } - public void setSpeed0_25(View view) { - ijkVideoView.setSpeed(0.25f); + public void setSpeed0_75(View view) { + ijkVideoView.setSpeed(0.75f); } public void setSpeed0_5(View view) { diff --git a/app/src/main/res/layout/activity_player.xml b/app/src/main/res/layout/activity_player.xml index fd453988..16f97c51 100644 --- a/app/src/main/res/layout/activity_player.xml +++ b/app/src/main/res/layout/activity_player.xml @@ -58,7 +58,7 @@ + android:text="播放速度:" /> + android:text="0.5" />