码迷,mamicode.com
首页 >  
搜索关键字:xmlns    ( 5065个结果
Android自定义View
Android自定义View实现很简单继承View,重写构造函数、onDraw,(onMeasure)等函数。如果自定义的View需要有自定义的属性,需要在values下建立attrs.xml。在其中定义你的属性。在使用到自定义View的xml布局文件中需要加入xmlns:前缀="http://sc...
分类:移动开发   时间:2014-08-24 20:44:13    阅读次数:244
[C# | XML] XML 反序列化解析错误:<xml xmlns=''> was not expected. 附通用XML到类解析方法
使用 XML 反化时出现错误: public static TResult GetObjectFromXml(string xmlString) { TResult result; XmlSerializer serializer =...
分类:其他好文   时间:2014-08-21 12:55:04    阅读次数:519
【Maven】配置文件小结
本章主题: ?细细的探究pom.xml文件的内部构造。针对一个具体的示例对pom.xml 有一个感性的认识。 <project?xmlns="http://maven.apache.org/POM/4.0.0" ??xmlns:xsi="http://www.w3.org/2001/XMLSchema-ins...
分类:其他好文   时间:2014-08-20 16:41:33    阅读次数:269
android 动画切换效果
一:整个app都采用淡入淡出效果 1:在anim文件夹下定义动画文件 accelerate_interpolator.xml decelerate_interpolator.xml fade_in.xml <alpha xmlns:android="http://schemas.android.com/apk/res/android" android:duratio...
分类:移动开发   时间:2014-08-19 16:36:14    阅读次数:182
spark登录openfire以及发送单个消息,群聊消息的列表
1408171404636### <iq id="aSb6h-0" type="set" from="linux/eab452f7"> ? <bind xmlns="urn:ietf:params:xml:ns:xmpp-bind"> ??? <resource>Spark 2.6.3</resource> ? </bind> </iq> 1408171404641### <iq...
分类:其他好文   时间:2014-08-16 15:13:21    阅读次数:333
在XAML代码中导入名称空间
使用如下的代码导入指定的名称空间。不仅导入了名称空间,而且还为该名称空间指定了一个前缀local,当然也可以指定为其他的前缀名,这个可自行定义。导入后,该名称空间的公开成员即可在当前XAML代码中使用了。比如示例中的TimeButton这个类,其实是个继承自按钮的自定义控件类。 <Window x:Class="Demo002.MainWindow" xmlns="http:...
分类:其他好文   时间:2014-08-16 11:13:00    阅读次数:261
Android计算器界面布局
Android计算器界面图: 所定义的XML布局文件,主要用到的是TableLayout: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_w...
分类:移动开发   时间:2014-08-15 17:57:39    阅读次数:405
如何采用绝对坐标的方式动画方式移动view和如何点击view的时候获取它的cachebitmap并移动
Layout: <com.example.android_test.MyDragLayer xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/rootView" android:layout_width="fill_parent" android:layout_heig...
分类:移动开发   时间:2014-08-15 08:18:17    阅读次数:443
springbatch操作DB
一、需求分析 使用Spring Batch对DB进行读写操作: 从一个表中读取数据, 然后批量的插入另外一张表中. 二、代码实现 1. 代码结构图: 2. applicationContext.xml <beans xmlns="http://www.springframework.org/schema/beans" xmlns...
分类:数据库   时间:2014-08-15 01:32:46    阅读次数:483
maven 之pom.xml文件
<project xmlns="http://maven.apache.org/POM/4.0.0"?? ??? xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?? ??? xsi:schemaLocation="http://maven.apache.org/POM/4.0.0?http://maven.ap...
分类:其他好文   时间:2014-08-13 01:25:36    阅读次数:456
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!