日期:2014-05-16  浏览次数:20716 次

Android(三)数据存储之三SQLite嵌入式数据库 3

在mail.xml所在目录里添加一个contactitem.xml:

<?xml version="1.0" encoding="utf-8"?>

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

???????? android:layout_width="wrap_content" android:layout_height="wrap_content">

?

???????? <!-- contact.id -->

???????? <TextView android:layout_width="30dip" android:layout_height="wrap_content"

?????????????????? android:textSize="20sp" android:id="@+id/tv_id" />

?

???????? <!-- contact.name -->

???????? <TextView android:layout_width="150dip" android:layout_height="wrap_content"

友情链接: 爱易网 云虚拟主机技术 云服务器技术 程序设计技术 开发网站 APP开发教程
Copyright © 2013-2026 爱易网页 当前在线:349人  网站在3时35分45秒内访问总人数:35340人 2秒前 19.87%  粤ICP备18100884号-2