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 阅读全文
|
Copyright © 2024 JayceLi
Powered by .NET 8.0 on Kubernetes |