userlist.xml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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:background="@drawable/bg"
  6. android:orientation="vertical" >
  7. <ListView
  8. android:id="@+id/user_list"
  9. android:layout_width="fill_parent"
  10. android:layout_height="wrap_content"
  11. android:layout_weight="1"
  12. >
  13. </ListView>
  14. <LinearLayout
  15. android:layout_width="fill_parent"
  16. android:layout_height="wrap_content"
  17. android:orientation="horizontal" >
  18. <Button
  19. android:id="@+id/btn_addUser"
  20. android:layout_width="fill_parent"
  21. android:layout_height="wrap_content"
  22. android:layout_weight="1"
  23. android:text="添加用户" />
  24. <Button
  25. android:id="@+id/btn_deleteUser"
  26. android:layout_width="fill_parent"
  27. android:layout_height="fill_parent"
  28. android:layout_weight="1"
  29. android:text="删除用户" />
  30. </LinearLayout>
  31. </LinearLayout>