什么是Home Screen WidgetsHome screen Widget即称为小工具或者中文小工具,是显示在主页上的views,通过后台进程更新view的数据。Android由AppWidgetManager来管理系统的widgets。安装apk后。会依据widget定义在widget列表中...
分类:
移动开发 时间:
2015-07-29 18:43:37
阅读次数:
141
在给UIImageView添加手势时,发现不起作用,最终发现是由于我没有设置
User Interaction Enabled和Multiple Touch
NSArray *views = [[NSBundle
mainBundle] loadNibNamed:@"view_register_top"
owner:self
options:nil];
...
分类:
其他好文 时间:
2015-07-29 17:16:49
阅读次数:
160
reference: http://djangobook.py3k.cn/2.0/chapter01/chapter 1: modeles.py “模型”,和数据库相关 views.py 页面的业务逻辑,含有 视图函数 url.py 什么样的 URL 调用什么的视图 xxx.html html模板
分类:
其他好文 时间:
2015-07-28 20:53:36
阅读次数:
95
2015-07-2817:23:20本篇是关于LayoutParams相关ViewGroup.LayoutParams文档解释如下:LayoutParams are used by views to tell their parents how they want to be laid out. S...
分类:
移动开发 时间:
2015-07-28 20:23:45
阅读次数:
211
MyEclipse2014安装插件的几种方式(适用于Eclipse或MyEclipse其他版本) 2014-04-28 21:09 MyEclipse 阿超 18742 views 众所周知MyEclipse是一个很强大的Java IDE,而且它有许多开源免费又好用的插件,这些插件给我们开发过...
分类:
系统相关 时间:
2015-07-28 18:16:15
阅读次数:
171
2015-07-2716:52:58一、如何通过继承ViewGroup来实现自定义View?首先得搞清楚Android时如何绘制View的,参考Android官方文档:How Android Draws Views以下翻译摘自:http://blog.csdn.net/linghu_java/art...
分类:
移动开发 时间:
2015-07-27 18:33:35
阅读次数:
589
1、代码结构2、运行实例1、代码结构$ tree.├── photoweb.go├── public│ ├── css│ ├── images│ └── js├── uploads└── views ├── list.html └── upload.html 1.1)photoweb....
分类:
编程语言 时间:
2015-07-25 07:06:04
阅读次数:
221
模板输出 基本输出 <!--?app/views/example.blade.php?--><p>{{?date(‘d/m/y‘)?}}</p> 原样输出 <!--?app/views/example.blade.php?--><p>{{{?‘<script>alert("CHUNKY?BACON!");</script>‘?}}}</p> 特殊...
分类:
其他好文 时间:
2015-07-24 21:00:32
阅读次数:
128
这个主要总是,开启的线程和 UI 线程(主线程)不是同一个线程.可以Runnable方式避免,如下例所示就可以解决这个问题了。public static void updateText(Activity act, resID){ loadingText = (TextView) activity.f...
分类:
其他好文 时间:
2015-07-24 17:58:35
阅读次数:
115
一:开源网址 https://github.com/excilys/androidannotations/wiki 二:AndroidAnnotation特点 (1)依赖注入 可以注入 views, extras, system services, resources ...
分类:
移动开发 时间:
2015-07-23 00:28:47
阅读次数:
172