文件名称:DragImageView

  • 所属分类:
  • android开发
  • 资源属性:
  • [Android] [Java] [源码]
  • 上传时间:
  • 2013-12-04
  • 文件大小:
  • 518kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • anxi*****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

最近的一个android 项目中,客户要求在查看拍照上传的图片时,可以对图片进行多点触控的拖拽、放大、缩小等操作。网上的范例都不怎么好,实现的效果差强人意。

下面说说我的方案:

步骤一:自定义一个View,该View继承自ImageView。在该View中实现多点触控的拖拽、缩放等功能。

步骤二:像使用ImageView那样,在XML中引入该View。当然也可以动态创建该View然后添加到容器组件中。-A recent android projects, customer requirements when viewing photos uploaded images, the images can be multi-touch drag, zoom and other operations. The Internet is not a good example of how to achieve the effect of poor.

Here to talk about my plan:

Step one: Customize a View, The View inherited from ImageView. Multi-touch dragging in the View, zoom and other functions.

Step Two: Use ImageView like that, the introduction of the View in XML. Of course, you can dynamically create the View and then added to the container component.
(系统自动生成,下载前可以参看下载内容)

下载文件列表





DragImageView

.............\.classpath

.............\.project

.............\AndroidManifest.xml

.............\assets

.............\bin

.............\...\AndroidManifest.xml

.............\...\classes

.............\...\classes.dex

.............\...\.......\com

.............\...\.......\...\jj

.............\...\.......\...\..\drag

.............\...\.......\...\..\....\BitmapUtil.class

.............\...\.......\...\..\....\BuildConfig.class

.............\...\.......\...\..\....\DragImageView$MODE.class

.............\...\.......\...\..\....\DragImageView$MyAsyncTask$1.class

.............\...\.......\...\..\....\DragImageView$MyAsyncTask.class

.............\...\.......\...\..\....\DragImageView.class

.............\...\.......\...\..\....\MainActivity$1.class

.............\...\.......\...\..\....\MainActivity.class

.............\...\.......\...\..\....\R$attr.class

.............\...\.......\...\..\....\R$drawable.class

.............\...\.......\...\..\....\R$id.class

.............\...\.......\...\..\....\R$layout.class

.............\...\.......\...\..\....\R$string.class

.............\...\.......\...\..\....\R.class

.............\...\dexedLibs

.............\...\.........\annotations-f34f12f5a84e230e00a61f54baedf722.jar

.............\...\DragImageView.apk

.............\...\jarlist.cache

.............\...\res

.............\...\...\drawable-hdpi

.............\...\...\.............\ic_launcher.png

.............\...\...\drawable-ldpi

.............\...\...\.............\ic_launcher.png

.............\...\...\drawable-mdpi

.............\...\...\.............\ic_launcher.png

.............\...\...\drawable-xhdpi

.............\...\...\..............\ic_launcher.png

.............\...\resources.ap_

.............\gen

.............\...\com

.............\...\...\jj

.............\...\...\..\drag

.............\...\...\..\....\BuildConfig.java

.............\...\...\..\....\R.java

.............\proguard-project.txt

.............\project.properties

.............\res

.............\...\drawable-hdpi

.............\...\.............\huoying.jpg

.............\...\.............\ic_launcher.png

.............\...\.............\you.jpg

.............\...\drawable-ldpi

.............\...\.............\ic_launcher.png

.............\...\drawable-mdpi

.............\...\.............\ic_launcher.png

.............\...\drawable-xhdpi

.............\...\..............\ic_launcher.png

.............\...\layout

.............\...\......\main.xml

.............\...\values

.............\...\......\strings.xml

.............\src

.............\...\com

.............\...\...\jj

.............\...\...\..\drag

.............\...\...\..\....\BitmapUtil.java

.............\...\...\..\....\DragImageView.java

.............\...\...\..\....\MainActivity.java

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org