上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 51 下一页
摘要: referece to : http://blog.csdn.net/u010687392在上篇中我们知道RecyclerView中默认给我们提供了三种布局管理器,分别是LinearLayoutManager、 GridLayoutManager、StaggeredGridLayoutManager... 阅读全文
posted @ 2015-09-21 22:05 demoblog 阅读(6971) 评论(0) 推荐(0) 编辑
摘要: RecyclerView最强大的功能在于秒变功能,只需要改动很少的代码就可以实现ListView,GridView及水平ListViw的切换功能public class MainActivity extends ActionBarActivity { private RecyclerView ... 阅读全文
posted @ 2015-09-21 22:02 demoblog 阅读(698) 评论(0) 推荐(0) 编辑
摘要: reference to : http://www.android100.org/html/201505/24/149342.html不少设计师和工程师都被安卓设备纷繁的屏幕搞得晕头转向,我既做UI设计,也做一部分安卓界面布局,刚好对这块内容比较熟悉,也曾在公司内部做过相关的讲座,在此,我将此部分知... 阅读全文
posted @ 2015-09-21 16:17 demoblog 阅读(883) 评论(0) 推荐(1) 编辑
摘要: reference to : http://www.2cto.com/kf/201411/350928.html随着 Android 5.0 Lollipop 的发布,Android 又为我们提供了更多的支持包,但是我相信大部分开发者都同我之前一样不知道这些包里究竟有些什么东西,我们应该在什么时候使... 阅读全文
posted @ 2015-09-21 11:36 demoblog 阅读(417) 评论(0) 推荐(0) 编辑
摘要: referece to : http://blog.csdn.net/mybook1122/article/details/24003343现在好多应用流行一种布局。底部几个工具栏选项,上面也有类似tab的选项。底部用RadioGroup控制fragment的切换。以上有五个fragment。第一个... 阅读全文
posted @ 2015-09-21 11:12 demoblog 阅读(6600) 评论(0) 推荐(0) 编辑
摘要: referece to : http://blog.csdn.net/mybook1122/article/details/24978025这个网上搜索,很多结果都是:AndroidManifest.xmlandroid:configChanges="keyboardHidden|orientati... 阅读全文
posted @ 2015-09-21 10:53 demoblog 阅读(973) 评论(0) 推荐(0) 编辑
摘要: reference : http://blog.csdn.net/xingfeng0501/article/details/78171211、CHAR。CHAR存储定长数据很方便,CHAR字段上的索引效率级高,比如定义char(10),那么不论你存储的数据是否达到了10个字节,都要占去10个字节的空... 阅读全文
posted @ 2015-09-17 22:21 demoblog 阅读(774) 评论(0) 推荐(0) 编辑
摘要: reference : http://blog.csdn.net/beijingshi1/article/details/38681281不像在Eclipse,可以直接导出jar包。AndroidStudio只可以生成aar包。在网上看到许多朋友问怎么可以像Eclipse一样导出jar包,其实我们只... 阅读全文
posted @ 2015-09-17 22:16 demoblog 阅读(1946) 评论(0) 推荐(0) 编辑
摘要: 解压jar包jar xf xxx.jar打包成jar包方法一:通过jar命令jar命令的用法:下面是jar命令的帮助说明:用法:jar {ctxui}[vfm0Me] [jar-file] [manifest-file] [entry-point] [-C dir] files ...选项包括:-c... 阅读全文
posted @ 2015-09-17 22:09 demoblog 阅读(12089) 评论(0) 推荐(1) 编辑
摘要: TelephonyManager telManager = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE);/** 获取SIM卡的IMSI码 * SIM卡唯一标识:IMSI 国际移动用户识别码(IMSI:Internati... 阅读全文
posted @ 2015-08-31 12:08 demoblog 阅读(2715) 评论(0) 推荐(0) 编辑
上一页 1 ··· 23 24 25 26 27 28 29 30 31 ··· 51 下一页