18a12f0809f629e985e23e283e92ba030a234ece.svn-base 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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:titleColor="@color/white"
  15. app:title="eVVM信息读取" />
  16. <ImageView
  17. android:id="@+id/reading_bg"
  18. android:layout_below="@id/reading_title"
  19. android:src="@mipmap/iv_reading"
  20. android:scaleType="center"
  21. android:layout_width="wrap_content"
  22. android:layout_height="322dp" />
  23. <ProgressBar
  24. android:id="@+id/reading_progress"
  25. android:layout_below="@id/reading_title"
  26. android:layout_marginTop="235dp"
  27. android:layout_centerHorizontal="true"
  28. style="@android:style/Widget.ProgressBar.Horizontal"
  29. android:layout_width="174dp"
  30. android:layout_height="wrap_content"
  31. android:max="100"
  32. android:maxHeight="4dp"
  33. android:minHeight="4dp"
  34. android:progress="20"
  35. android:progressDrawable="@drawable/m_progress_horizontal"
  36. android:secondaryProgress="20" />
  37. <LinearLayout
  38. android:layout_below="@id/reading_bg"
  39. android:layout_marginTop="13.4dp"
  40. android:layout_marginLeft="52dp"
  41. android:orientation="horizontal"
  42. android:layout_width="wrap_content"
  43. android:layout_height="wrap_content">
  44. <TextView
  45. android:ems="1"
  46. android:textSize="13.4sp"
  47. android:layout_marginRight="7dp"
  48. android:text="请将微电子标签贴近您手机"
  49. android:layout_width="wrap_content"
  50. android:layout_height="wrap_content" />
  51. <TextView
  52. android:ems="1"
  53. android:text="背部的N F C天线标识位置"
  54. android:layout_width="wrap_content"
  55. android:layout_height="wrap_content" />
  56. </LinearLayout>
  57. <ImageView
  58. android:layout_marginBottom="2dp"
  59. android:layout_alignParentBottom="true"
  60. android:src="@mipmap/iv_reading_phone"
  61. android:scaleType="center"
  62. android:layout_marginLeft="125.8dp"
  63. android:layout_width="wrap_content"
  64. android:layout_height="322dp" />
  65. </RelativeLayout>