photoview支持图片的缩放,但是使用fresco加载图片时,photoview是不支持的,而PhotoDraweeView 是支持fresco的。
使用:
1、添加依赖
compile 'me.relex:photodraweeview:1.1.0'
compile 'com.facebook.fresco:fresco:0.10.0'
2、布局
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fresco="http://schemas.a