JayceLi  

2012年9月8日

摘要: 首先要有一个普通的layout,里面必须包含1 <ListView android:id="@android:id/list" 2 android:layout_width="fill_parent" 3 android:layout_height="wrap_content"></ListView> ListView的id必须是android:id/list.然后layout里可以加其他的普通的控件了。JAVA代码里使用的时候是1 addPreferencesFromResource(R.xml.prefer 阅读全文
posted @ 2012-09-08 11:20 JayceLi 阅读(230) 评论(0) 推荐(0) 编辑