task_pop_item.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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/layw410"
  6. android:layout_height="@dimen/layw56"
  7. android:layout_gravity="center"
  8. android:baselineAligned="false">
  9. <ImageView
  10. android:contentDescription="@string/app_name"
  11. android:layout_width="@dimen/layw410"
  12. android:layout_height="@dimen/layw56"
  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/layw56"
  19. android:layout_marginLeft="@dimen/layw15"
  20. android:orientation="horizontal"
  21. android:gravity="center">
  22. <TextView
  23. android:id="@+id/task_name"
  24. android:layout_width="@dimen/layw150"
  25. android:layout_height="wrap_content"
  26. android:textColor="#ffffff"
  27. android:gravity="left|center"/>
  28. <LinearLayout
  29. android:layout_width="wrap_content"
  30. android:layout_height="@dimen/layw56"
  31. android:layout_marginLeft="@dimen/layw15"
  32. android:orientation="vertical"
  33. android:gravity="center">
  34. <SeekBar
  35. android:id="@+id/seekbar_task"
  36. android:layout_width="@dimen/layw80"
  37. android:layout_height="wrap_content"
  38. android:progressDrawable="@drawable/seekbar_style"
  39. android:thumb="@null"
  40. android:minHeight="@dimen/layw8"
  41. android:maxHeight="@dimen/layw8"
  42. android:max="100"
  43. android:focusable="false"
  44. android:clickable="false"/>
  45. <TextView
  46. android:id="@+id/task_process"
  47. android:layout_width="@dimen/layw80"
  48. android:layout_height="wrap_content"
  49. android:layout_marginTop="@dimen/layy9"
  50. android:gravity="left|center"
  51. android:textColor="#ffffff"
  52. android:textSize="@dimen/layx11" />
  53. </LinearLayout>
  54. </LinearLayout>
  55. <Button
  56. android:id="@+id/task_alipay"
  57. android:contentDescription="@string/app_name"
  58. android:layout_width="@dimen/layw100"
  59. android:layout_height="@dimen/layw35"
  60. android:layout_marginTop="@dimen/layw9"
  61. android:layout_marginLeft="@dimen/layw295"
  62. android:gravity="center"
  63. android:background="@drawable/common_btn"
  64. android:text="领取"
  65. style="@style/shop_text_style"/>
  66. </RelativeLayout>