![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
图片浏览
文章平均质量分 67
andli0726
这个作者很懒,什么都没留下…
展开
-
ListView形式预览图片
public class Main extends Activity implements OnItemClickListener { private ListView listView;// 装载缩小的图片 private ImageAdapter imageAdapter; public static int imagePosition;// 图片的下标 pub...原创 2011-10-03 17:05:54 · 241 阅读 · 0 评论 -
通过注册OnTouchListener,来实现多点触控
public class Main extends Activity implements OnTouchListener { // These matrices will be used to move and zoom image Matrix matrix = new Matrix(); Matrix savedMatrix = new Matrix(); // We c...原创 2011-10-15 09:11:33 · 185 阅读 · 0 评论 -
通过自定义ImageView来实现多点触控
public class Main extends Activity { private MyImageView imageView;// 声明一个自定义的ImageView private Bitmap bitmap; // 两点触屏后之间的长度 private float beforeLenght; private float afterLenght; TextView...原创 2011-10-16 14:23:48 · 89 阅读 · 0 评论 -
gridview+gallery 实现图片的预览
先是通过gridview实现图片的预览,再通过gallery浏览整个图片原创 2011-10-16 14:23:58 · 157 阅读 · 0 评论 -
AysncTask异步加载图片
package com.lilin.async;import cn.riddles.activity.R;import android.app.Activity;import android.content.Context;import android.os.Bundle;import android.view.LayoutInflater;import android...原创 2012-01-03 16:24:25 · 86 阅读 · 0 评论