上传者: 42116713
|
上传时间: 2021-12-25 14:27:51
|
文件大小: 16.49MB
|
文件类型: -
ZoomableTextureView
允许在视频播放时捏合缩放和滚动手势。 可以与MediaPlayer和新的ExoPlayer API一起使用。 灵感来自ImageView的类似实现
用法
库是通过jCenter分发的
dependencies {
implementation ' ua.polohalo.zoomabletextureview:zoomabletextureview:1.0.0 '
}
只需在XML布局中包含自定义视图即可:
< ua .polohalo.zoomabletextureview.ZoomableTextureView
android : id = " @+id/textureView "
android : layout_width = " match_parent "
android :