hisense_fragment_realname.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. android:layout_width="match_parent"
  4. android:layout_height="match_parent"
  5. android:background="@color/color_66000000">
  6. <RelativeLayout
  7. android:layout_width="328dp"
  8. android:layout_height="280dp"
  9. android:layout_centerInParent="true"
  10. android:background="@color/color_ffffffff">
  11. <Button
  12. android:id="@+id/btn_left_cancel"
  13. android:layout_width="32dp"
  14. android:layout_height="32dp"
  15. android:layout_alignParentRight="true"
  16. android:layout_marginRight="7dp"
  17. android:layout_marginTop="7dp"
  18. android:background="@drawable/hisense_realname_close" />
  19. <TextView
  20. android:id="@+id/tv_real_name"
  21. android:layout_width="wrap_content"
  22. android:layout_height="wrap_content"
  23. android:layout_alignParentTop="true"
  24. android:layout_centerHorizontal="true"
  25. android:layout_marginTop="10dp"
  26. android:text="@string/real_name"
  27. android:textColor="@color/color_343434"
  28. android:textSize="16dp"
  29. android:textStyle="bold" />
  30. <RelativeLayout
  31. android:layout_width="match_parent"
  32. android:layout_height="wrap_content"
  33. android:layout_centerVertical="true">
  34. <View
  35. android:id="@+id/view_first"
  36. android:layout_width="match_parent"
  37. android:layout_height="1dp"
  38. android:layout_alignParentTop="true"
  39. android:layout_centerHorizontal="true"
  40. android:layout_marginLeft="16dp"
  41. android:layout_marginRight="16dp"
  42. android:background="@color/color_ffe6e6e6" />
  43. <EditText
  44. android:id="@+id/edt_real_name"
  45. style="@style/hisense_edt_login"
  46. android:layout_width="match_parent"
  47. android:layout_height="32dp"
  48. android:layout_below="@+id/view_first"
  49. android:layout_marginLeft="16dp"
  50. android:layout_marginRight="16dp"
  51. android:gravity="center_vertical"
  52. android:hint="@string/input_real_name"
  53. android:inputType="text"
  54. android:maxLength="100" />
  55. <View
  56. android:id="@+id/view_second"
  57. android:layout_width="match_parent"
  58. android:layout_height="1dp"
  59. android:layout_below="@+id/view_first"
  60. android:layout_marginLeft="16dp"
  61. android:layout_marginRight="16dp"
  62. android:layout_marginTop="32dp"
  63. android:background="@color/color_ffe6e6e6" />
  64. <EditText
  65. android:id="@+id/edt_id_num"
  66. style="@style/hisense_edt_login"
  67. android:layout_width="match_parent"
  68. android:layout_height="32dp"
  69. android:layout_below="@+id/view_second"
  70. android:layout_marginLeft="16dp"
  71. android:layout_marginRight="16dp"
  72. android:gravity="center_vertical"
  73. android:hint="@string/input_id_tip"
  74. android:inputType="text" />
  75. <View
  76. android:id="@+id/view_third"
  77. android:layout_width="match_parent"
  78. android:layout_height="1dp"
  79. android:layout_below="@+id/view_second"
  80. android:layout_marginLeft="16dp"
  81. android:layout_marginRight="16dp"
  82. android:layout_marginTop="32dp"
  83. android:background="@color/color_ffe6e6e6" />
  84. <LinearLayout
  85. android:id="@+id/btn_layout"
  86. android:layout_width="match_parent"
  87. android:layout_height="wrap_content"
  88. android:layout_below="@+id/view_third"
  89. android:layout_centerHorizontal="true"
  90. android:layout_marginLeft="16dp"
  91. android:layout_marginRight="16dp"
  92. android:layout_marginTop="16dp"
  93. android:orientation="horizontal">
  94. <Button
  95. android:id="@+id/btn_right_ok"
  96. style="@style/hisense_btn_login"
  97. android:layout_width="match_parent"
  98. android:layout_height="32dp"
  99. android:text="@string/btn_sure" />
  100. </LinearLayout>
  101. <TextView
  102. android:id="@+id/tv_real_name_hint"
  103. android:layout_width="match_parent"
  104. android:layout_height="wrap_content"
  105. android:layout_below="@+id/btn_layout"
  106. android:layout_centerHorizontal="true"
  107. android:layout_marginLeft="5dp"
  108. android:layout_marginRight="5dp"
  109. android:layout_marginTop="16dp"
  110. android:gravity="center"
  111. android:textColor="@color/color_343434"
  112. android:textSize="10dp" />
  113. </RelativeLayout>
  114. </RelativeLayout>
  115. </RelativeLayout>