bssdk_fragment_gift_bag.xml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. xmlns:app="http://schemas.android.com/apk/res-auto"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:background="@color/main_color"
  8. android:orientation="vertical">
  9. <!--app:divider="@drawable/bssdk_slidingview_line"-->
  10. <!--app:showDividers="beginning|middle"-->
  11. <RelativeLayout
  12. android:layout_width="match_parent"
  13. android:layout_height="@dimen/DIMEN_45DP"
  14. android:paddingLeft="@dimen/DIMEN_19DP"
  15. android:paddingRight="@dimen/DIMEN_10DP">
  16. <TextView
  17. android:id="@+id/tv_gift_bag_back"
  18. android:layout_width="wrap_content"
  19. android:layout_height="match_parent"
  20. android:layout_centerVertical="true"
  21. android:layout_marginRight="@dimen/DIMEN_18DP"
  22. android:drawableLeft="@drawable/bssdk_left_arrow"
  23. android:drawablePadding="@dimen/DIMEN_5DP"
  24. android:gravity="center"
  25. android:text="返回"
  26. android:textColor="@color/indicator_color"/>
  27. <TextView
  28. android:layout_width="match_parent"
  29. android:layout_height="wrap_content"
  30. android:layout_centerInParent="true"
  31. android:layout_marginLeft="@dimen/DIMEN_80DP"
  32. android:gravity="center"
  33. android:text="我的礼包"
  34. android:textColor="@color/white"
  35. android:textSize="@dimen/TEXT_SIZE_15SP"/>
  36. </RelativeLayout>
  37. <View
  38. android:layout_width="match_parent"
  39. android:layout_height="2px"
  40. android:background="@drawable/bssdk_slidingview_line"/>
  41. <RelativeLayout
  42. android:layout_width="match_parent"
  43. android:layout_height="match_parent">
  44. <com.bluestacks.sdk.widget.customview.BSLoadListView
  45. android:id="@+id/rv_gift_bag"
  46. android:layout_width="match_parent"
  47. android:layout_height="match_parent"
  48. android:divider="@drawable/bssdk_list_divider"
  49. android:dividerHeight="1px"
  50. android:footerDividersEnabled="false"
  51. android:visibility="gone"/>
  52. <com.bluestacks.sdk.widget.customview.BSCustomEmptyView
  53. android:id="@+id/cev_gift_bag"
  54. android:layout_width="match_parent"
  55. android:layout_height="match_parent"
  56. android:visibility="visible"/>
  57. </RelativeLayout>
  58. </LinearLayout>