2012年7月27日

[转]Android include标签

摘要: 本文转自:http://www.2cto.com/kf/201109/105630.htmlandroid中include标签是为了便于控件的复用的一个很好解决方案。但是也有一些需要注意的地方,下面是本人在项目中碰到过的一个问题,做此记录,便于以后查看。include标签用法。1.新建一个xml文件,命名 head.xmlhead.xml文件内容如下:<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.andro 阅读全文

posted @ 2012-07-27 08:45 freeliver54 阅读(247) 评论(0) 推荐(0)

导航