android shape的使用
shape用于设定形状,可以在selector,layout等里面使用,有6个子标签,各属性如下:
xml version="1.0" encoding="utf-8"?>
shape xmlns:android="http://schemas.android.com/apk/res/android" >
圆角 -->
...
分类:
移动开发 时间:
2014-07-30 10:03:33
阅读次数:
244
之前一直用quartz做调度任务,这次改用spring了,这里做一个记录,以备查询:在配置文件中增加如下配置:xmlns:task="http://www.springframework.org/schema/task"http://www.springframework.org/schema/taskhttp://www.springframework.org/schema/task/spring-task-3.2.xsd..
分类:
编程语言 时间:
2014-07-29 15:50:19
阅读次数:
195
servlet-context.xml
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframewor...
分类:
编程语言 时间:
2014-07-29 13:14:47
阅读次数:
310
#1.下载utils项目
https://github.com/wyouflf/xUtils
#2布局文件中实现UI
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
...
分类:
移动开发 时间:
2014-07-29 12:59:56
阅读次数:
240
正确的springmvc配置如下: <?xml?version="1.0"?encoding="UTF-8"?>
<beans?xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?xmlns:context...
分类:
编程语言 时间:
2014-07-28 17:00:04
阅读次数:
278
1.布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:orientation=...
分类:
移动开发 时间:
2014-07-28 16:04:13
阅读次数:
264
主要是使用内容提供者ContentProvider
#1.在activity_main.xml布局文件中添加写sdcard权限,并添加读短信的权限
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/t...
分类:
移动开发 时间:
2014-07-28 00:05:49
阅读次数:
391
先看效果:
布局:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout...
分类:
移动开发 时间:
2014-07-27 11:39:04
阅读次数:
238
在XMPP开发中,使用XMPPStream进行连接服务器后,验证过程中,比较常见的一个错误是.尤其作为初学者(笔者就是这样的),经常会因为这个问题弄得不着边际的凌乱.现在笔者将自己的遇到的问题定期整理,总结错误,希望对日后的使用有所参考,同时希望能够对也是在这方面的初学者有所提醒.服务器的测试版本为...
分类:
其他好文 时间:
2014-07-23 20:47:55
阅读次数:
458
spring-db-context.xml:<?xmlversion="1.0"encoding="UTF-8"?><beansxmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http:..
分类:
编程语言 时间:
2014-07-23 13:44:37
阅读次数:
311