登录
首页 » Java » TouchActivity

TouchActivity

于 2013-08-01 发布 文件大小:613KB
0 184
下载积分: 1 下载次数: 8

代码说明:

  触屏触摸活动测试代码,声明ImageView变量,声明相关变量作为存储图片宽高,位置使用,声明存储屏幕的分辨率变量,取得屏幕对象,取得屏幕解析像素,通过findViewById构造器创建ImageView对象,将图片从Drawable赋值给ImageView来呈现,当点击ImageView,还原初始位置,取得手指触控屏幕的位置,覆盖触控事件,防图片超过屏幕的相关处理,防止屏幕向右超过屏幕,以setLayoutParams方法,重新安排Layout上的位置,以setLayoutParams方法,重新安排Layout上的位置... (Weather Android source code, obtained Google s weather API data themselves may again be extended run shot more difficult to grasp here, an environmental source test it on the download, Android Weather WeatherForecast seems to be common and the primary example of a simple Android , but would like to develop a beautiful and feature-rich weather application, it requires a lot of knowledge of the perfect combination.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 打飞机游戏
    分享一个JAVA编写的飞机大战程序 图片+源代码  用鼠标移动来控制英雄机 子弹事先设定好  奖励分为 加命和 双倍火力两种 其余的详见代码
    2022-08-18 08:12:39下载
    积分:1
  • android 增加listview gridview recyclerviewlist 动画效果(翻转/加载)
    android 增加listview gridview recyclerviewlist 动画效果(翻转/加载)
    2016-02-24下载
    积分:1
  • java oa实现
    java oa,spring mvc框架实现,基于一般的企业应用级别的项目开发,还包括手机端的应用开发,不过目前没有实现。
    2022-07-18 17:11:54下载
    积分:1
  • 百万富翁游戏 (使用安卓系统)
    在这类工程学生,MCA,BCA,学生可以找到最新的集合 ofjava 项目的源代码、 项目报告、 文件、 PPT、 数据流程图和与项目相关的全部信息。有很多不同主题的项目 (银行项目、 管理项目、 库存管理、 网络的项目,政府与相关的项目)。此处列出的所有这些项目都是部分的最后一年项目和小型项目的免费下载。大多数项目包括一步一步过程解释执行项目。
    2022-02-16 02:17:02下载
    积分:1
  • 使用javafx做的地址本
    使用javafx做的地址本例子。使用了javafx、fxml方式的实现方式,工程源代码! 使用javafx做的地址本例子。使用了javafx、fxml方式的实现方式,工程源代码! 使用javafx做的地址本例子。使用了javafx、fxml方式的实现方式,工程源代码!    
    2022-03-22 16:27:24下载
    积分:1
  • android 自定义listview 例子源码(SwipeListView)
    android 自定义listview 例子源码(SwipeListView)
    2015-04-22下载
    积分:1
  • 二维码扫描
    二维码扫描
    2015-02-07下载
    积分:1
  • 小游戏五子棋大战
    class LNode{ private int row; private int col; private Color chessColor; private LNode next; public LNode(int row,int col,Color chessColor){ this.row=row; this.col=col; this.chessColor=chessColor; } public LNode(){ this.next=null; } public void setRow(int row){ this.row=row; } public int getRow(){ return this.row; } public void setCol(int col){ this.col=col; } public int getCol(){ return this.col; } public void setChessColor(Color chessColor){ this.chessColor=chessColor; } public Color getChessColor(){ return this.chessColor; } public void setNext(LNode next){ this.next=next; } public LNode getNext(){ return this.next; } } class NullAndCount{ private int nullCount=0; private int chessCount=0; public void setNullCount(int nullCount){ this.nullCount=nullCount; } public int getNullCount(){ return this.nullCount; } public void setChessCoun
    2022-05-08 02:47:07下载
    积分:1
  • NFC
    说明:  基于非接触IC卡的NFC应用,支持符合ISO7816—3、ISO15693和Felica等国际标准卡片的读取,能够读取的电子标签包括公交卡、银行卡、图书馆射频标贴等。(The NFC application based on non-contact IC card supports the reading of international standards such as ISO7816-3, ISO15693, and Felica. The electronic tags that can be read include bus cards, bank cards, and radio frequency tags for libraries.)
    2020-05-05 23:02:05下载
    积分:1
  • android 微信分享实例源码下载 WeixinShare
    android 微信分享实例源码下载 WeixinShare
    2014-08-07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载