a9bb03ea0f29cca4231b31a68253c10b4185704f.svn-base 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="match_parent"
  7. android:orientation="vertical"
  8. tools:context=".ui.first.ReadingActivity">
  9. <com.hjq.bar.TitleBar
  10. android:id="@+id/reading_title"
  11. android:layout_width="match_parent"
  12. android:layout_height="wrap_content"
  13. android:background="#5680FA"
  14. app:leftColor="@color/white"
  15. app:titleColor="@color/white"
  16. app:title="eVVM信息读取" >
  17. </com.hjq.bar.TitleBar>
  18. <TextView
  19. android:id="@+id/again_bt"
  20. android:layout_width="wrap_content"
  21. android:layout_height="wrap_content"
  22. android:layout_alignParentRight="true"
  23. android:text="再次扫描"
  24. android:paddingLeft="20dp"
  25. android:gravity="bottom"
  26. android:paddingRight="20dp"
  27. android:paddingBottom="18dp"
  28. android:layout_alignBottom="@+id/reading_title"
  29. android:layout_alignTop="@+id/reading_title"
  30. android:textColor="@color/white"
  31. android:textSize="15sp"
  32. android:background="@color/transparent"/>
  33. <ImageView
  34. android:id="@+id/reading_bg"
  35. android:layout_below="@id/reading_title"
  36. android:src="@mipmap/iv_reading"
  37. android:scaleType="center"
  38. android:layout_width="wrap_content"
  39. android:layout_height="322dp" />
  40. <ProgressBar
  41. android:id="@+id/reading_progress"
  42. android:layout_below="@id/reading_title"
  43. android:layout_marginTop="235dp"
  44. android:layout_centerHorizontal="true"
  45. style="@android:style/Widget.ProgressBar.Horizontal"
  46. android:layout_width="174dp"
  47. android:layout_height="wrap_content"
  48. android:max="100"
  49. android:maxHeight="4dp"
  50. android:minHeight="4dp"
  51. android:progress="20"
  52. android:progressDrawable="@drawable/m_progress_horizontal"
  53. android:secondaryProgress="20" />
  54. <LinearLayout
  55. android:layout_below="@id/reading_bg"
  56. android:layout_marginTop="13.4dp"
  57. android:layout_marginLeft="52dp"
  58. android:orientation="horizontal"
  59. android:layout_width="wrap_content"
  60. android:layout_height="wrap_content">
  61. <TextView
  62. android:ems="1"
  63. android:textSize="13.4sp"
  64. android:layout_marginRight="7dp"
  65. android:text="请将微电子标签贴近您手机"
  66. android:layout_width="wrap_content"
  67. android:layout_height="wrap_content" />
  68. <TextView
  69. android:ems="1"
  70. android:text="背部的N F C天线标识位置"
  71. android:layout_width="wrap_content"
  72. android:layout_height="wrap_content" />
  73. </LinearLayout>
  74. <ImageView
  75. android:layout_marginBottom="2dp"
  76. android:layout_alignParentBottom="true"
  77. android:src="@mipmap/iv_reading_phone"
  78. android:scaleType="center"
  79. android:layout_marginLeft="125.8dp"
  80. android:layout_width="wrap_content"
  81. android:layout_height="322dp" />
  82. </RelativeLayout>