bdp_view_controller_task_prepare.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="#00000000" >
  6. <RelativeLayout
  7. android:id="@+id/rel_title"
  8. android:layout_width="fill_parent"
  9. android:layout_height="56dp"
  10. android:layout_gravity="center_vertical"
  11. android:background="@drawable/bdp_paycenter_title_bg"
  12. android:gravity="center_vertical" >
  13. <ImageView
  14. android:id="@+id/img_back"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentLeft="true"
  18. android:layout_centerVertical="true"
  19. android:layout_marginLeft="8dp"
  20. android:paddingRight="52dp"
  21. android:src="@drawable/bdp_paycenter_btn_back_selector"
  22. android:contentDescription="@string/bdp_image" />
  23. <TextView
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:layout_centerHorizontal="true"
  27. android:layout_centerVertical="true"
  28. android:layout_gravity="center_vertical"
  29. android:text="@string/bdp_task_list_title"
  30. android:textColor="#ffffff"
  31. android:textSize="18sp" />
  32. <ImageView
  33. android:id="@+id/img_close"
  34. android:layout_width="wrap_content"
  35. android:layout_height="wrap_content"
  36. android:layout_alignParentRight="true"
  37. android:layout_centerVertical="true"
  38. android:layout_marginRight="4dp"
  39. android:paddingLeft="50dp"
  40. android:src="@drawable/bdp_paycenter_btn_close_selector"
  41. android:contentDescription="@string/bdp_image" />
  42. </RelativeLayout>
  43. <FrameLayout
  44. android:layout_width="match_parent"
  45. android:layout_height="match_parent"
  46. android:layout_below="@id/rel_title"
  47. android:orientation="vertical"
  48. android:background="@drawable/bdp_paycenter_dialog_bottom_bg">
  49. <!-- 加载中 -->
  50. <LinearLayout
  51. android:id="@+id/lin_loading"
  52. android:layout_width="match_parent"
  53. android:layout_height="match_parent"
  54. android:gravity="center"
  55. android:orientation="horizontal"
  56. android:visibility="gone" >
  57. <ProgressBar
  58. android:layout_width="25dp"
  59. android:layout_height="25dp"
  60. android:layout_marginRight="6dp"
  61. android:indeterminateDrawable="@drawable/bdp_paycenter_progress_loading_anim" />
  62. <TextView
  63. android:layout_width="wrap_content"
  64. android:layout_height="wrap_content"
  65. android:layout_gravity="center"
  66. android:gravity="center"
  67. android:text="@string/bdp_paycenter_tv_string_loading"
  68. android:textColor="@android:color/black"
  69. android:textSize="16sp" />
  70. </LinearLayout>
  71. <!-- 空值提示 -->
  72. <LinearLayout
  73. android:id="@+id/lin_empty"
  74. android:layout_width="match_parent"
  75. android:layout_height="match_parent"
  76. android:gravity="center"
  77. android:orientation="vertical">
  78. <!-- android:src="@drawable/bdp_task_icon_empty" -->
  79. <ImageView
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:contentDescription="@string/bdp_image"
  83. />
  84. <TextView
  85. android:layout_width="wrap_content"
  86. android:layout_height="wrap_content"
  87. android:paddingTop="23dip"
  88. android:text="@string/bdp_task_list_empty"
  89. android:textSize="15sp"
  90. android:textColor="#bebebe"
  91. />
  92. </LinearLayout>
  93. </FrameLayout>
  94. </RelativeLayout>