x7_fragment_voucher_sdk2.xml 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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:orientation="vertical" >
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_marginTop="14dp"
  10. android:layout_marginBottom="19dp"
  11. android:layout_marginLeft="18dp"
  12. android:layout_marginRight="13dp"
  13. android:orientation="horizontal"
  14. >
  15. <TextView
  16. android:layout_width="0dp"
  17. android:layout_weight="1"
  18. android:layout_height="wrap_content"
  19. android:text="@string/x7_voucher_collection"
  20. android:textColor="#12cdb0"
  21. android:textSize="16dp"
  22. />
  23. <TextView
  24. android:id="@+id/tv_user_contact"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:gravity="center"
  28. android:layout_gravity="center_vertical"
  29. android:text="@string/x7_chat_customer"
  30. android:drawableLeft="@drawable/x7_chat"
  31. android:background="@drawable/x7_tv_account_note_bg"
  32. android:paddingLeft="13dp"
  33. android:paddingRight="13dp"
  34. android:paddingTop="7dp"
  35. android:paddingBottom="7dp"
  36. android:drawablePadding="8dp"
  37. android:textColor="#12cdb0"
  38. android:textSize="10dp" />
  39. <TextView
  40. android:id="@+id/tv_un_read_msg"
  41. android:layout_width="wrap_content"
  42. android:layout_height="10dp"
  43. android:layout_marginLeft="-6dp"
  44. android:background="@drawable/x7_un_read_msg"
  45. android:layout_gravity="center_vertical"
  46. android:gravity="center"
  47. android:maxEms="3"
  48. android:minWidth="10dp"
  49. android:minEms="2"
  50. android:textColor="@color/x7_white"
  51. android:textSize="8sp"
  52. android:visibility="gone"
  53. />
  54. </LinearLayout>
  55. <GridView
  56. android:id="@+id/gv_voucher_list"
  57. android:layout_width="match_parent"
  58. android:layout_height="match_parent"
  59. android:layout_marginLeft="26dp"
  60. android:layout_marginRight="20dp"
  61. android:layout_centerHorizontal="true"
  62. android:layout_marginTop="5dp"
  63. android:numColumns="2"
  64. xmlns:tools="http://schemas.android.com/tools"
  65. tools:listitem="@layout/x7_sdk_item_money_ticket_ll_2"
  66. android:listSelector="@android:color/transparent"
  67. android:scrollbars="none"
  68. android:verticalSpacing="13dp"
  69. android:horizontalSpacing="15dp"
  70. >
  71. </GridView>
  72. </LinearLayout>