三个布局文件 main.xml      childs.xml      groups.xml

一个java文件  List_lianxi.java

main.xml文件代码

 1 <?xml version="1.0" encoding="utf-8"?>
 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
 3     android:layout_width="fill_parent"
 4     android:layout_height="fill_parent"
 5     android:orientation="vertical" >
 6     <ExpandableListView 
 7         android:id="@id/android:list"
 8         android:layout_width="fill_parent"
 9         android:layout_height="fill_parent"
10         android:drawSelectorOnTop="false"
11                 />
12     <TextView 
13         android:layout_width="fill_parent"
14         android:layout_height="fill_parent"
15         android:id="@id/android:empty"
16         android:text="No Data"/> 
17 
18 </LinearLayout>
main.xml

相关文章:

  • 2021-10-30
  • 2022-12-23
  • 2021-11-17
  • 2021-04-06
  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-04-13
猜你喜欢
  • 2022-12-23
  • 2021-11-25
  • 2022-12-23
  • 2022-02-05
  • 2022-12-23
相关资源
相似解决方案