07 2016 档案

摘要:原文:Android源码解析之(二)-->异步消息机制 通过阅读文章及其中提到的一些参考文章,模模糊糊的理解了Android的异步消息机制。为了能够进行消化吸收,决定把各类之间的交互通过图的形式来进行描述。于是,通过文章Rational_Rose【UML建模】_教程+使用详解了解了Rational 阅读全文
posted @ 2016-07-25 23:35 liDB 阅读(374) 评论(0) 推荐(0) 编辑
摘要:@ Rational Rose 2007下载、安装与激活 原文:http://www.cnblogs.com/leaven/p/3718361.html 按 照文章下载:Rational Rose 2007(v 7.0)(含激活文件)后,解压缩得到:[IBM软件系列].IBM.Rational.Ro 阅读全文
posted @ 2016-07-24 20:18 liDB 阅读(375) 评论(0) 推荐(0) 编辑
摘要:# 批量更改文件编码 原文:EditPlus批量更改文件编码 # 标签位置设置到顶部 阅读全文
posted @ 2016-07-23 10:40 liDB 阅读(198) 评论(0) 推荐(0) 编辑
摘要:原文:很少有人会告诉你的Android开发基本常识。 文章介绍了一些关于开发、测试、版本管理、工具使用等方面的知识。 阅读全文
posted @ 2016-07-22 21:17 liDB 阅读(122) 评论(0) 推荐(0) 编辑
摘要:@、如果线性方程组无解,则称该方程组是不相容的(inconsistent)。 @、如果线性方程组至少存在一个解,则称该方程组是相容的(consistent)。 @、等价方程组(equivalent systems)。 @、定义:若两个含有相同变量的方程组具有相同的解集,则称它们是等价的(equiva 阅读全文
posted @ 2016-07-21 23:11 liDB 阅读(2057) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.cnblogs.com/AndyJee/p/3491443.html 阅读全文
posted @ 2016-07-21 15:57 liDB 阅读(247) 评论(0) 推荐(0) 编辑
摘要:Animation 动画: http://www.360doc.com/content/13/0102/22/6541311_257754535.shtml Android动画机制全解析 Android 三种动画详解 阅读全文
posted @ 2016-07-21 15:40 liDB 阅读(113) 评论(0) 推荐(0) 编辑
摘要:参考: 1、Android Matrix理论与应用详解 2、2D平面中关于矩阵(Matrix)跟图形变换的讲解 3、Android中关于矩阵(Matrix)前乘后乘的一些认识 4、Android Matrix View.setPivotX:设置旋转或缩放的基点的X位置,默认是对象的中点(官方API说 阅读全文
posted @ 2016-07-21 15:25 liDB 阅读(8781) 评论(0) 推荐(0) 编辑
摘要:原文:android坐标系相关知识点 阅读全文
posted @ 2016-07-20 21:25 liDB 阅读(153) 评论(0) 推荐(0) 编辑
摘要:通过此方法使View位置发生偏移,达到margin的作用却又不改变View的getLeft()的值。 恢复方法是setTranslationX(0),而不是上一次偏移量的相反数。 不过,通过getLocationInWindow(), getLocationOnScreen()获取到的位置是发生变化 阅读全文
posted @ 2016-07-17 16:13 liDB 阅读(4100) 评论(0) 推荐(0) 编辑
摘要:手指在屏幕上滑动,触发到onTouchEvent(),执行case MotionEvent.ACTION_MOVE: 。。。 public boolean onTouchEvent(MotionEvent ev) { if (mFakeDragging) { // A fake drag is in 阅读全文
posted @ 2016-07-17 11:58 liDB 阅读(270) 评论(0) 推荐(0) 编辑
摘要:ViewPager维护child代码流程: 注:PagerAdapter 使用的是FragmentPagerAdapter类或者它的子类。 viewPager.populate(): viewPager.addNewItem(): fragmentPagerAdapter.instantiateIt 阅读全文
posted @ 2016-07-17 11:54 liDB 阅读(899) 评论(0) 推荐(0) 编辑
摘要:onMeasure()调用populate(),完成首次数据初始化。 populate()维护ViewPager的page,包括mItems和mAdapter。 populate(): 似乎在首次数据初始化时会用到。 第一个for循环实现当前page左边的page处理;当向左滑时,销毁左边的page 阅读全文
posted @ 2016-07-17 11:40 liDB 阅读(455) 评论(0) 推荐(0) 编辑
摘要:原文:图解Android View的scrollTo(),scrollBy(),getScrollX(), getScrollY() 阅读全文
posted @ 2016-07-16 22:48 liDB 阅读(201) 评论(0) 推荐(0) 编辑
摘要:原文:Android中dp和px之间进行转换 官方文档:http://developer.android.com/guide/practices/screens_support.html The density-independent pixel is equivalent to one physi 阅读全文
posted @ 2016-07-15 21:32 liDB 阅读(246) 评论(0) 推荐(0) 编辑
摘要:原文:ListView滑动删除 ,仿腾讯QQ(鸿洋_) 文章实现的功能是:在ListView的Item上从右向左滑时,出现删除按钮,点击删除按钮把Item删除。 看过文章后,感觉没有必要把dispatchTouchEvent()和onTouchEvent()两个方法都重写,只要重写onTouchEv 阅读全文
posted @ 2016-07-13 11:40 liDB 阅读(1416) 评论(0) 推荐(0) 编辑
摘要:如果想自学Android,以下的文章可以作为参考: 如何自学Android(Gityuan) 那两年炼就的Android内功修养(老罗的Android之旅) 阅读全文
posted @ 2016-07-12 15:59 liDB 阅读(424) 评论(0) 推荐(1) 编辑
摘要:原文:Install Oracle Java 6, 7, or 8 in Ubuntu 14.04 Trusty 命令如下: sudo add-apt-repository ppa:webupd8team/java (第一次使用此命令报错了,重新试一次却好了!) sudo apt-get updat 阅读全文
posted @ 2016-07-11 16:56 liDB 阅读(211) 评论(0) 推荐(0) 编辑
摘要:文章内容来自Udacity课程:Linux Command Line Basics--Getting Started with the Shell Your own Linux box To learn the Linux shell, you need a Linux machine to run 阅读全文
posted @ 2016-07-11 16:44 liDB 阅读(628) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.csdn.net/qingye_love/article/details/13772391?utm_source=tuicool&utm_medium=referral http://blog.csdn.net/qingye_love/article/details/1 阅读全文
posted @ 2016-07-10 18:59 liDB 阅读(203) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.chengbo.net/2012/03/09/onitemclick-return-wrong-position-when-listview-has-headerview.html 当ListView实例addheaderView()或者addFooterView后,再 阅读全文
posted @ 2016-07-10 17:00 liDB 阅读(539) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.cnblogs.com/mengdd/p/3569127.html 通过实例及PopupWindow源码分析了PopupWindow的使用。文章最后的“补充Case: 弹窗不消失,但是事件向下传递”很赞。 不过,源码已经发生了变化,文章中提到的PopupViewConta 阅读全文
posted @ 2016-07-10 15:29 liDB 阅读(460) 评论(0) 推荐(0) 编辑
摘要:原文:http://www.open-open.com/lib/view/open1427852683115.html 阅读全文
posted @ 2016-07-10 15:21 liDB 阅读(241) 评论(0) 推荐(0) 编辑
摘要:public class SuperClass{ public void printA(){ System.out.print("SuperClass-printA"); printB(); } public void printB(){ System.out.print("SuperClass-p 阅读全文
posted @ 2016-07-09 23:53 liDB 阅读(7487) 评论(0) 推荐(1) 编辑
摘要:原文:http://blog.csdn.net/xyz_lmn/article/details/17575709 阅读全文
posted @ 2016-07-09 17:19 liDB 阅读(384) 评论(0) 推荐(0) 编辑
摘要:Android TouchEvent事件传递机制 通俗易懂,能够了解Touch事件派发的基本流程。 Android中的dispatchTouchEvent()、onInterceptTouchEvent()和onTouchEvent() 通过流程图了解touch事件派发过程。 Android Fra 阅读全文
posted @ 2016-07-09 17:02 liDB 阅读(285) 评论(0) 推荐(0) 编辑
摘要:博客: http://blog.csdn.net/lmj623565791(鸿洋_) http://blog.csdn.net/u011733020(CodingForAndroid) http://www.cnblogs.com/mengdd/(圣骑士wind) http://blog.csdn. 阅读全文
posted @ 2016-07-07 23:22 liDB 阅读(238) 评论(0) 推荐(0) 编辑
摘要:原文:http://androidbook.com/item/4169 阅读全文
posted @ 2016-07-05 23:07 liDB 阅读(180) 评论(0) 推荐(0) 编辑
摘要:原文:http://blog.csdn.net/vipzjyno1/article/details/21039349/ apktool 最新官网: http://ibotpeaches.github.io/Apktool/install/ dex2jar 下载: https://sourceforg 阅读全文
posted @ 2016-07-05 13:21 liDB 阅读(277) 评论(0) 推荐(0) 编辑
摘要:@、使用Github: 原文:http://www.mamicode.com/info-detail-1126359.html @、添加region,实现代码块折叠 原文:http://www.myandroidsolutions.com/2014/06/21/android-studio-inte 阅读全文
posted @ 2016-07-04 18:16 liDB 阅读(301) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/crazy1235/article/details/42678877 效果:滑动切换;点击标签切换。 代码:https://github.com/ldb-github/Layout_Tab 1、使用ViewPager和PagerTabStrip/P 阅读全文
posted @ 2016-07-04 16:27 liDB 阅读(998) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/crazy1235/article/details/42678877 效果:滑动切换;点击标签切换。 代码:https://github.com/ldb-github/Layout_Tab 1、布局:使用LinearLayout布置标签;再使用Vi 阅读全文
posted @ 2016-07-04 16:08 liDB 阅读(637) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/crazy1235/article/details/42678877 效果: 代码:https://github.com/ldb-github/Layout_Tab 1、布局:使用LinearLayout布置标签;再使用FrameLayout来布置 阅读全文
posted @ 2016-07-04 15:18 liDB 阅读(518) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/crazy1235/article/details/42678877 效果:滑动切换,自动切换。 代码:https://github.com/ldb-github/Layout_Tab 1、布局界面通过ViewPager标签来实现视图左右切换。 2 阅读全文
posted @ 2016-07-04 13:55 liDB 阅读(437) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://blog.csdn.net/crazy1235/article/details/42678877 TabActivity在API13之后被fragment替代了,所以不建议使用 效果:点击头像标签,进行切换。 代码:https://github.com/ldb-github/ 阅读全文
posted @ 2016-07-04 10:56 liDB 阅读(325) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示