bssdk_fragment_pay_vouchers.xml 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@drawable/bssdk_dialog"
  6. android:orientation="vertical"
  7. android:padding="1px">
  8. <RelativeLayout
  9. android:layout_width="match_parent"
  10. android:layout_height="@dimen/DIMEN_44DP"
  11. android:background="@drawable/bssdk_pay_dialog_top"
  12. android:orientation="horizontal">
  13. <ImageView
  14. android:id="@+id/iv_pay_vouchers_back"
  15. android:layout_width="wrap_content"
  16. android:layout_height="wrap_content"
  17. android:layout_alignParentStart="true"
  18. android:layout_centerVertical="true"
  19. android:padding="@dimen/DIMEN_16DP"
  20. android:src="@drawable/bssdk_back_w"
  21. android:visibility="visible" />
  22. <TextView
  23. android:layout_width="wrap_content"
  24. android:layout_height="wrap_content"
  25. android:layout_centerInParent="true"
  26. android:text="我的代金券"
  27. android:textColor="@color/white" />
  28. <ImageView
  29. android:id="@+id/iv_pay_vouchers_close"
  30. android:layout_width="wrap_content"
  31. android:layout_height="wrap_content"
  32. android:layout_alignParentEnd="true"
  33. android:layout_centerVertical="true"
  34. android:padding="@dimen/DIMEN_16DP"
  35. android:src="@drawable/bssdk_close_pay" />
  36. </RelativeLayout>
  37. <LinearLayout
  38. android:layout_width="match_parent"
  39. android:layout_height="match_parent"
  40. android:orientation="vertical">
  41. <TextView
  42. android:id="@+id/tv_pay_vouchers_service_regulations"
  43. android:layout_width="match_parent"
  44. android:layout_height="wrap_content"
  45. android:layout_marginStart="@dimen/DIMEN_20DP"
  46. android:layout_marginEnd="@dimen/DIMEN_21DP"
  47. android:drawableEnd="@drawable/bssdk_service_regulations_icon"
  48. android:drawablePadding="@dimen/DIMEN_5DP"
  49. android:gravity="end|center_vertical"
  50. android:paddingTop="@dimen/DIMEN_5DP"
  51. android:paddingBottom="@dimen/DIMEN_5DP"
  52. android:textColor="@color/alpha_50_white" />
  53. <RelativeLayout
  54. android:layout_width="match_parent"
  55. android:layout_height="0dp"
  56. android:layout_weight="1">
  57. <com.bluestacks.sdk.widget.customview.BSLoadListView
  58. android:id="@+id/lv_pay_vouchers"
  59. android:layout_width="match_parent"
  60. android:layout_height="match_parent"
  61. android:divider="@color/transparent"
  62. android:dividerHeight="@dimen/DIMEN_8DP"
  63. android:listSelector="@drawable/bssdk_item_bg_selector"
  64. android:visibility="gone" />
  65. <com.bluestacks.sdk.widget.customview.BSCustomEmptyView
  66. android:id="@+id/cev_pay_vouchers"
  67. android:layout_width="match_parent"
  68. android:layout_height="match_parent"
  69. android:visibility="visible" />
  70. </RelativeLayout>
  71. </LinearLayout>
  72. </LinearLayout>