userlist.xml.svn-base 1.1 KB

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