-
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.oaphone, PID: 4592
java.lang.RuntimeException: Canvas: trying to draw too large(129709492bytes) bitmap.
at android.graphics.Reco…
-
配合Glide使用加载小图的时候 会拉伸图片尺寸,请问怎么修改
-
在GridView中使用发现PinchImageView一直在渲染绘制
只在显示数据的情况下有一直渲染绘制,点击后就没有一直渲染绘制,回来又有一直渲染绘制。
@Override
protected void onDraw(Canvas canvas) {
//在绘制前设置变换矩阵
if (isReady()) {// debug这一直返回true
…
-
-
#16
-
// 对方法进行扩展~(直接改的源码)
public boolean onSingleTapConfirmed(MotionEvent e) {
//触发点击
if (mOnClickListener != null) {
mOnClickListener.onClick(PinchImag…
-
使用PagerSnapHelper的recyclerView可以替代viewpager,但是控件在recyclerView中缩放事件无法触发
-
```
I'm trying to use this to display a very large image (8M)
Simply setting the image src in the layout causes a VM error because it's
too large.
So the solution is:
view = (PinchImageVie…
-
```
I'm trying to use this to display a very large image (8M)
Simply setting the image src in the layout causes a VM error because it's
too large.
So the solution is:
view = (PinchImageVie…
-
```
I'm trying to use this to display a very large image (8M)
Simply setting the image src in the layout causes a VM error because it's
too large.
So the solution is:
view = (PinchImageVie…