allprojects { repositories { maven { url "https://jitpack.io" } } }dependencies { compile ''}com.github.chrisbanes:PhotoView:2.1.3
//布局中引用<com.github.chrisbanes.photoview.PhotoView android:id="@+id/photo_view" android:layout_width="match_parent" android:layout_height="match_parent"/> //设置图片PhotoView photoView = (PhotoView) findViewById(R.id.photo_view); photoView.setImageResource(R.drawable.image);
PhotoView
最新推荐文章于 2021-06-23 11:34:24 发布