上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 188 下一页

2015年2月15日

【转】FragmentTest学习笔记1

摘要: 原文网址:http://blog.csdn.net/hishentan/article/details/20734489源码部分:BookContent.java[java]view plaincopypackagecom.example.bookdetailfragment;importjava.... 阅读全文

posted @ 2015-02-15 11:56 wi100sh 阅读(255) 评论(0) 推荐(0)

【转】基于Android Fragment功能的例子

摘要: 原文网址:http://blog.csdn.net/eyu8874521/article/details/8252216通过最近空闲时候对Fragment的学习,尝试着写了一个小Demo,将在开发的时候能常用到的Fragment知识放在一起,写过了这个Demo对Android Fragment的了解... 阅读全文

posted @ 2015-02-15 11:46 wi100sh 阅读(284) 评论(0) 推荐(0)

2015年2月14日

【转】Android中visibility属性VISIBLE、INVISIBLE、GONE的区别

摘要: 原文网址:http://blog.csdn.net/chindroid/article/details/8000713在Android开发中,大部分控件都有visibility这个属性,其属性有3个分别为“visible ”、“invisible”、“gone”。主要用来设置控制控件的显示和隐藏。有... 阅读全文

posted @ 2015-02-14 22:34 wi100sh 阅读(599) 评论(0) 推荐(0)

2015年2月13日

【转】Android学习基础自定义Checkbox组件

摘要: 原文网址:http://forum.maiziedu.com/thread-515-1-1.htmlheckbox组件是一种可同时选中多项的基础控件,即复选框,在android学习中,Checkbox是一款非常重要的UI组件,由于它的展现形式美观性和协调性不符合我们的需求,我们需要自定义这个组件,方... 阅读全文

posted @ 2015-02-13 16:58 wi100sh 阅读(203) 评论(0) 推荐(0)

【转】declare-styleable的使用(自定义控件) 以及declare-styleable中format详解

摘要: 原文网址:http://www.cnblogs.com/622698abc/p/3348692.htmldeclare-styleable是给自定义控件添加自定义属性用的1.首先,先写attrs.xml ... 阅读全文

posted @ 2015-02-13 16:02 wi100sh 阅读(284) 评论(0) 推荐(0)

【转】android 自定义控件 使用declare-styleable进行配置属性(源码角度)

摘要: 原文网址:http://blog.csdn.net/vipzjyno1/article/details/23696537最近在模仿今日头条,发现它的很多属性都是通过自定义控件并设定相关的配置属性进行配置,于是便查询了解了下declare-styleable,下面我把自己的使用感受和如何使用进行说明下... 阅读全文

posted @ 2015-02-13 15:55 wi100sh 阅读(311) 评论(0) 推荐(0)

【转】Android SwitchButton(滑动开关)

摘要: 原文网址:http://blog.csdn.net/wangjinyu501/article/details/27961303版本:1.0日期:2014.5.172014.6.1版权:© 2014 kince 转载注明出处在介绍SwitchButton之前,先来看一下系统Button是如何实现的。源... 阅读全文

posted @ 2015-02-13 14:31 wi100sh 阅读(1231) 评论(0) 推荐(0)

【转】Android 如何在Eclipse中查看Android API源码 及 support包源码

摘要: 原文网址:http://blog.csdn.net/vipzjyno1/article/details/22954775当我们阅读android API开发文档时候,上面的每个类,以及类的各个方法都是已经写好的方法和控件,可是我们只是在搬来使用,不知道它的原理,它是如何被实现的。android系统是... 阅读全文

posted @ 2015-02-13 10:21 wi100sh 阅读(262) 评论(0) 推荐(0)

【转】如何在eclipse里关联查看android源码

摘要: 原文网址:http://fengbohaishang.blog.51cto.com/5106297/1339556以前没怎么注意过这个问题,不怎么看源码,现在发现源码确实是很好的学习资源。 直入正题: 一、获取android源码资源。 这里指java源文件,一般十几兆左右,不是网上那种几个G的and... 阅读全文

posted @ 2015-02-13 10:20 wi100sh 阅读(173) 评论(0) 推荐(0)

2015年2月12日

【转】setTag()/getTag()

摘要: 原文网址:http://www.cnblogs.com/topcoderliu/archive/2011/06/07/2074419.htmlView中的setTag(Onbect)表示给View添加一个格外的数据,以后可以用getTag()将这个数据取出来。 可以用在多个Button添加一个监听... 阅读全文

posted @ 2015-02-12 22:55 wi100sh 阅读(207) 评论(0) 推荐(0)

上一页 1 ··· 159 160 161 162 163 164 165 166 167 ··· 188 下一页

导航