luck_record_item.xml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout
  3. xmlns:android="http://schemas.android.com/apk/res/android"
  4. android:orientation="horizontal"
  5. android:layout_width="@dimen/layx434"
  6. android:layout_height="@dimen/layy56"
  7. android:layout_gravity="center"
  8. android:baselineAligned="false">
  9. <ImageView
  10. android:contentDescription="@string/app_name"
  11. android:layout_width="@dimen/layx434"
  12. android:layout_height="@dimen/layy56"
  13. android:src="@drawable/shop_list_item_bg"
  14. android:scaleType="fitXY"
  15. />
  16. <LinearLayout
  17. android:layout_width="wrap_content"
  18. android:layout_height="@dimen/layy56"
  19. android:layout_marginLeft="@dimen/layx15"
  20. android:orientation="horizontal"
  21. android:gravity="center">
  22. <TextView
  23. android:id="@+id/record_name"
  24. android:layout_width="@dimen/layx180"
  25. android:layout_height="wrap_content"
  26. android:textColor="#ffffff"
  27. android:gravity="left|center"/>
  28. <TextView
  29. android:id="@+id/record_time"
  30. android:layout_width="@dimen/layx100"
  31. android:layout_height="wrap_content"
  32. android:layout_marginLeft="@dimen/layx15"
  33. android:textColor="#ffffff"
  34. android:gravity="left|center"/>
  35. </LinearLayout>
  36. <ImageView
  37. android:contentDescription="@string/app_name"
  38. android:layout_width="@dimen/layx80"
  39. android:layout_height="@dimen/layy35"
  40. android:layout_marginTop="@dimen/layy9"
  41. android:layout_marginLeft="@dimen/layx329"
  42. android:background="@drawable/luck_msg_small_bg"
  43. />
  44. <TextView
  45. android:id="@+id/record_status"
  46. android:contentDescription="@string/app_name"
  47. android:layout_width="@dimen/layx80"
  48. android:layout_height="@dimen/layy35"
  49. android:layout_marginTop="@dimen/layy9"
  50. android:layout_marginLeft="@dimen/layx329"
  51. android:gravity="center"
  52. style="@style/shop_title_style"/>
  53. </RelativeLayout>