CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 源码下载 通讯/手机编程 android开发

文件名称:Linefzfb

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2016-07-06
  • 文件大小:
    1.47mb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

实现思路:

1.要用一个类来表示这9个点中的第一个点。里面保留有当前点的上下左右的各个位置等属性

2.自定义GroupView,用来装9个点,9个点的显示是通过ImageView。复写onLayout这个方法,让点按需求排列

3.定义一个可以画线的View,复写onTouchEvent方法,在这个方法里面进行画直线的操作

4.判断用户手指当前的位置,取出当前的位置去与那9个点中的每个点的位置进行比较,如果用户点的位置在某一个点之内,那么当那个点置换背景图片。-Realization thought:

1 to use a class to represent the first point in the 9 points. Which retains the current point of the upper and lower left and right of the various positions, etc.

2 custom GroupView, used to hold 9 points, 9 points of the display is through the ImageView. Copy the onLayout approach, make arrangement according to demand

3 the definition of a line drawing of View, carbon onTouchEvent method, draw line operation in this method.

4. Determine the fingers of a user s current location, remove the current position to compare with each point in the nine point position, if the location of the user within a certain point, so when the replacement of the background image.
(系统自动生成,下载前可以参看下载内容)

下载文件列表

Line/
Line/.classpath
Line/.project
Line/.settings/
Line/.settings/org.eclipse.core.resources.prefs
Line/.settings/org.eclipse.jdt.core.prefs
Line/AndroidManifest.xml
Line/assets/
Line/bin/
Line/bin/AndroidManifest.xml
Line/bin/classes/
Line/bin/classes/com/
Line/bin/classes/com/seeyon/
Line/bin/classes/com/seeyon/line/
Line/bin/classes/com/seeyon/line/bean/
Line/bin/classes/com/seeyon/line/bean/Point.class
Line/bin/classes/com/seeyon/line/BuildConfig.class
Line/bin/classes/com/seeyon/line/MainActivity$1.class
Line/bin/classes/com/seeyon/line/MainActivity.class
Line/bin/classes/com/seeyon/line/R$attr.class
Line/bin/classes/com/seeyon/line/R$dimen.class
Line/bin/classes/com/seeyon/line/R$drawable.class
Line/bin/classes/com/seeyon/line/R$id.class
Line/bin/classes/com/seeyon/line/R$layout.class
Line/bin/classes/com/seeyon/line/R$menu.class
Line/bin/classes/com/seeyon/line/R$string.class
Line/bin/classes/com/seeyon/line/R$style.class
Line/bin/classes/com/seeyon/line/R.class
Line/bin/classes/com/seeyon/line/ScreenUtils.class
Line/bin/classes/com/seeyon/line/view/
Line/bin/classes/com/seeyon/line/view/ContentView.class
Line/bin/classes/com/seeyon/line/view/Drawl$GestureCallBack.class
Line/bin/classes/com/seeyon/line/view/Drawl.class
Line/bin/classes.dex
Line/bin/dexedLibs/
Line/bin/dexedLibs/android-support-v4-16a00996e66fcb646f47332f1eb60fa7.jar
Line/bin/javaapk.com-Line.apk
Line/bin/res/
Line/bin/res/crunch/
Line/bin/res/crunch/drawable-hdpi/
Line/bin/res/crunch/drawable-hdpi/gesture_node_highlighted.png
Line/bin/res/crunch/drawable-hdpi/gesture_node_normal.png
Line/bin/res/crunch/drawable-hdpi/ic_launcher.png
Line/bin/res/crunch/drawable-hdpi/sky.png
Line/bin/res/crunch/drawable-mdpi/
Line/bin/res/crunch/drawable-mdpi/ic_launcher.png
Line/bin/res/crunch/drawable-xhdpi/
Line/bin/res/crunch/drawable-xhdpi/ic_launcher.png
Line/bin/res/crunch/drawable-xxhdpi/
Line/bin/res/crunch/drawable-xxhdpi/ic_launcher.png
Line/bin/resources.ap_
Line/gen/
Line/gen/com/
Line/gen/com/seeyon/
Line/gen/com/seeyon/line/
Line/gen/com/seeyon/line/BuildConfig.java
Line/gen/com/seeyon/line/R.java
Line/ic_launcher-web.png
Line/libs/
Line/libs/android-support-v4.jar
Line/proguard-project.txt
Line/project.properties
Line/res/
Line/res/drawable-hdpi/
Line/res/drawable-hdpi/gesture_node_highlighted.png
Line/res/drawable-hdpi/gesture_node_normal.png
Line/res/drawable-hdpi/ic_launcher.png
Line/res/drawable-hdpi/sky.png
Line/res/drawable-ldpi/
Line/res/drawable-mdpi/
Line/res/drawable-mdpi/ic_launcher.png
Line/res/drawable-xhdpi/
Line/res/drawable-xhdpi/ic_launcher.png
Line/res/drawable-xxhdpi/
Line/res/drawable-xxhdpi/ic_launcher.png
Line/res/layout/
Line/res/layout/activity_main.xml
Line/res/layout/item.xml
Line/res/menu/
Line/res/menu/main.xml
Line/res/values/
Line/res/values/dimens.xml
Line/res/values/strings.xml
Line/res/values/styles.xml
Line/res/values-sw600dp/
Line/res/values-sw600dp/dimens.xml
Line/res/values-sw720dp-land/
Line/res/values-sw720dp-land/dimens.xml
Line/res/values-v11/
Line/res/values-v11/styles.xml
Line/res/values-v14/
Line/res/values-v14/styles.xml
Line/src/
Line/src/com/
Line/src/com/seeyon/
Line/src/com/seeyon/line/
Line/src/com/seeyon/line/bean/
Line/src/com/seeyon/line/bean/Point.java
Line/src/com/seeyon/line/MainActivity.java
Line/src/com/seeyon/line/ScreenUtils.java
Line/src/com/seeyon/line/view/
Line/src/com/seeyon/line/view/ContentView.java
Line/src/com/seeyon/line/view/Drawl.java
Line/说明.htm

相关说明

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

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com