摘要:
1)从android的资源文件夹layout中加载xml布局文件,并把布局文件映射为Bitmapmain.xml文件如下:[html] view plaincopyprint? java代码中的处理,方法一:[java] view plaincopyprint?//加载xml布局文件 LayoutInflater factory = LayoutInflater.from(context); View view = factory.inflate(R.layout.main, null); //获得布局文件中的TextView TextView city = (Tex... 阅读全文
posted @ 2013-08-06 09:00
crazywenza
阅读(6764)
评论(0)
推荐(0)

浙公网安备 33010602011771号