current_bets_item.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="48dp"
  5. xmlns:app="http://schemas.android.com/apk/res-auto">
  6. <androidx.constraintlayout.widget.Guideline
  7. android:id="@+id/guideline_one"
  8. android:layout_width="wrap_content"
  9. android:layout_height="wrap_content"
  10. android:orientation="vertical"
  11. app:layout_constraintGuide_percent="0.12" />
  12. <androidx.constraintlayout.widget.Guideline
  13. android:id="@+id/guideline_two"
  14. android:layout_width="wrap_content"
  15. android:layout_height="wrap_content"
  16. android:orientation="vertical"
  17. app:layout_constraintGuide_percent="0.42" />
  18. <androidx.constraintlayout.widget.Guideline
  19. android:id="@+id/guideline_three"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:orientation="vertical"
  23. app:layout_constraintGuide_percent="0.58" />
  24. <androidx.constraintlayout.widget.Guideline
  25. android:id="@+id/guideline_four"
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:orientation="vertical"
  29. app:layout_constraintGuide_percent="0.90" />
  30. <TextView
  31. android:id="@+id/txt_fight_no"
  32. android:layout_width="0dp"
  33. android:layout_height="wrap_content"
  34. android:gravity="center"
  35. android:paddingTop="4dp"
  36. android:paddingBottom="4dp"
  37. android:text="58"
  38. android:textColor="@color/light_yellow"
  39. android:textSize="14sp"
  40. android:textStyle="bold"
  41. app:layout_constraintBottom_toBottomOf="parent"
  42. app:layout_constraintEnd_toStartOf="@+id/guideline_one"
  43. app:layout_constraintStart_toStartOf="parent"
  44. app:layout_constraintTop_toTopOf="parent" />
  45. <TextView
  46. android:id="@+id/txt_time"
  47. android:layout_width="0dp"
  48. android:layout_height="wrap_content"
  49. android:gravity="center"
  50. android:paddingTop="4dp"
  51. android:paddingBottom="4dp"
  52. android:text="21:09:11"
  53. android:textColor="@color/light_yellow"
  54. android:textSize="14sp"
  55. android:textStyle="bold"
  56. app:layout_constraintBottom_toBottomOf="parent"
  57. app:layout_constraintEnd_toStartOf="@+id/guideline_two"
  58. app:layout_constraintStart_toStartOf="@+id/guideline_one"
  59. app:layout_constraintTop_toTopOf="parent" />
  60. <ImageView
  61. android:id="@+id/img_dot"
  62. android:layout_width="10dp"
  63. android:layout_height="10dp"
  64. app:layout_constraintBottom_toBottomOf="parent"
  65. app:layout_constraintStart_toEndOf="@+id/guideline_two"
  66. app:layout_constraintTop_toTopOf="parent"
  67. android:src="@drawable/bg_circle_white" />
  68. <TextView
  69. android:id="@+id/txt_type"
  70. android:layout_width="0dp"
  71. android:paddingStart="1dp"
  72. android:paddingEnd="0dp"
  73. android:layout_height="wrap_content"
  74. android:gravity="center_vertical|start"
  75. android:text="Wala"
  76. android:textColor="@android:color/white"
  77. app:layout_constraintEnd_toStartOf="@+id/guideline_three"
  78. android:textSize="14sp"
  79. app:layout_constraintBottom_toBottomOf="parent"
  80. app:layout_constraintStart_toEndOf="@+id/img_dot"
  81. app:layout_constraintTop_toTopOf="parent"
  82. android:textStyle="bold" />
  83. <TextView
  84. android:id="@+id/txt_amount"
  85. android:layout_width="0dp"
  86. android:layout_height="wrap_content"
  87. android:layout_weight="0.1"
  88. android:gravity="center"
  89. android:paddingEnd="2dp"
  90. android:text="10,000:0.93:???"
  91. android:textColor="@android:color/white"
  92. android:textSize="14sp"
  93. android:textStyle="bold"
  94. app:layout_constraintBottom_toBottomOf="parent"
  95. app:layout_constraintEnd_toEndOf="@+id/guideline_four"
  96. app:layout_constraintStart_toStartOf="@+id/guideline_three"
  97. app:layout_constraintTop_toTopOf="parent" />
  98. <TextView
  99. android:id="@+id/txt_print"
  100. android:layout_width="0dp"
  101. android:layout_height="wrap_content"
  102. android:layout_weight="0.1"
  103. android:gravity="center"
  104. android:text="Print"
  105. android:textColor="@android:color/white"
  106. android:textSize="14sp"
  107. android:textStyle="bold"
  108. app:layout_constraintBottom_toBottomOf="parent"
  109. app:layout_constraintEnd_toEndOf="parent"
  110. app:layout_constraintStart_toStartOf="@+id/guideline_four"
  111. app:layout_constraintTop_toTopOf="parent" />
  112. <View
  113. android:id="@+id/line"
  114. android:layout_width="match_parent"
  115. android:layout_height="1dp"
  116. android:background="@color/color_gray_300"
  117. app:layout_constraintBottom_toBottomOf="parent"
  118. app:layout_constraintEnd_toEndOf="parent" />
  119. </androidx.constraintlayout.widget.ConstraintLayout>