ej_view_phone_verify_code.xml 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="wrap_content"
  5. android:orientation="vertical">
  6. <LinearLayout
  7. android:layout_width="match_parent"
  8. android:layout_height="wrap_content"
  9. android:layout_marginLeft="@dimen/dp_20"
  10. android:layout_marginRight="@dimen/dp_20"
  11. android:orientation="vertical">
  12. <TextView
  13. android:id="@+id/ej_phone_verify_code_msg_tv"
  14. android:layout_width="match_parent"
  15. android:layout_height="wrap_content"
  16. android:layout_marginTop="@dimen/dp_10"
  17. android:gravity="center"
  18. android:text="@string/ej_phone_verify_code_msg"
  19. android:textColor="@color/ej_font_black"
  20. android:textSize="@dimen/sp_20" />
  21. <RelativeLayout
  22. android:layout_width="match_parent"
  23. android:layout_height="wrap_content"
  24. android:layout_marginTop="@dimen/dp_10">
  25. <LinearLayout
  26. android:layout_width="wrap_content"
  27. android:layout_height="wrap_content"
  28. android:layout_centerInParent="true"
  29. android:orientation="horizontal">
  30. <TextView
  31. android:id="@+id/ej_phone_verify_code_send_phone_num_tv"
  32. android:layout_width="wrap_content"
  33. android:layout_height="wrap_content"
  34. android:text="@string/ej_phone_verify_code_send_phone_num"
  35. android:textColor="@color/ej_font_gray"
  36. android:textSize="@dimen/sp_14" />
  37. <com.ejyx.widget.RemainingTimeTextView
  38. android:id="@+id/ej_phone_verify_code_remaining_time_tv"
  39. android:layout_width="wrap_content"
  40. android:layout_height="wrap_content"
  41. android:layout_marginLeft="@dimen/dp_5"
  42. android:text="@string/ej_remaining_time"
  43. android:textColor="@color/ej_font_gray"
  44. android:textSize="@dimen/sp_12"
  45. android:background="@drawable/ej_shape_phone_verify_code_remaining_time_background"/>
  46. </LinearLayout>
  47. </RelativeLayout>
  48. <com.ejyx.widget.VerifyCodeView
  49. android:id="@+id/ej_phone_verify_code_vcv"
  50. android:layout_width="@dimen/dp_240"
  51. android:layout_height="wrap_content"
  52. android:layout_gravity="center"
  53. android:layout_marginTop="@dimen/dp_20" />
  54. <TextView
  55. android:layout_width="match_parent"
  56. android:layout_height="wrap_content"
  57. android:text="@string/ej_phone_verify_code_notice"
  58. android:textSize="@dimen/sp_10"
  59. android:textColor="@color/ej_font_red"
  60. android:gravity="center"
  61. android:layout_marginTop="@dimen/dp_25"
  62. android:layout_marginBottom="@dimen/dp_30"/>
  63. </LinearLayout>
  64. </LinearLayout>