videoView默认提供的MediaController是没有音量键的,只有前进,后退和暂停键,上一个和下一个可以通过设置setPrevNextListeners来显示。如果还有添加什么按键的话,可以通过反射的方式来添加。
audio_add_button_layout.xml
<?xml version="1.0" encoding="utf-8"?>
<ImageButton
android:id="@+id/audio"
android:src="@mipmap/audio"
android:background="#00000000"
android:layout_width="71dip"
android:layout_height="52dip"