dialog_user_list.xml 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout 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. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_centerInParent="true"
  10. android:background="@drawable/dialog_bg"
  11. android:orientation="vertical">
  12. <TextView
  13. android:layout_width="match_parent"
  14. android:layout_height="wrap_content"
  15. android:layout_gravity="center_horizontal"
  16. android:layout_margin="@dimen/space_20"
  17. android:gravity="center"
  18. android:text="@string/dialog_system_show"
  19. android:textColor="@color/black"
  20. android:textSize="@dimen/text_size_20" />
  21. <TextView
  22. android:id="@+id/txt_dialog_prompt"
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_marginBottom="@dimen/space_15"
  26. android:layout_marginLeft="@dimen/space_20"
  27. android:text="@string/fragment_dialog_name"
  28. android:textSize="@dimen/text_size_14" />
  29. <LinearLayout
  30. android:layout_width="match_parent"
  31. android:layout_height="wrap_content"
  32. android:layout_margin="@dimen/space_15"
  33. android:orientation="horizontal">
  34. <Button
  35. android:id="@+id/dialog_btn_resume"
  36. android:layout_width="match_parent"
  37. android:layout_height="wrap_content"
  38. android:layout_margin="5dip"
  39. android:layout_weight="1"
  40. android:background="@color/dialog_bg_blue"
  41. android:padding="@dimen/space_10"
  42. android:text="@string/str_resume"
  43. android:textColor="@color/white"
  44. android:textSize="@dimen/text_size_15" />
  45. <Button
  46. android:id="@+id/dialog_btn_cancel"
  47. android:layout_width="match_parent"
  48. android:layout_height="wrap_content"
  49. android:layout_margin="5dip"
  50. android:layout_weight="1"
  51. android:background="@color/dialog_bg"
  52. android:padding="@dimen/space_10"
  53. android:text="@string/cancle"
  54. android:textColor="@color/white"
  55. android:textSize="@dimen/text_size_15" />
  56. </LinearLayout>
  57. </LinearLayout>
  58. </RelativeLayout>