x7_activity_phone_password.xml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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:layout_marginTop="60dp"
  8. tools:context="com.smwl.smsdk.activity.PhonePasswordActivity">
  9. <LinearLayout
  10. android:id="@+id/ll_register_password"
  11. style="@style/X7CommonInputStyle"
  12. android:layout_width="@dimen/x7_activity_horizontal_width"
  13. android:layout_height="wrap_content"
  14. android:layout_centerHorizontal="true"
  15. android:orientation="horizontal">
  16. <EditText
  17. android:id="@+id/ed_phone_password"
  18. style="@style/X7EditTextNoBackCommonStyle"
  19. android:layout_width="0dp"
  20. android:layout_height="wrap_content"
  21. android:layout_weight="1"
  22. android:ems="16"
  23. android:hint="@string/x7_hint_of_password"
  24. android:inputType="text" />
  25. <ImageView
  26. android:id="@+id/iv_delete_phone_password"
  27. android:layout_width="wrap_content"
  28. android:layout_height="match_parent"
  29. android:contentDescription="TODO"
  30. android:paddingLeft="8dp"
  31. android:paddingRight="8dp"
  32. android:src="@drawable/x7_activity_login_delete"
  33. android:visibility="gone" />
  34. </LinearLayout>
  35. <Button
  36. android:id="@+id/btn_register_user"
  37. style="@style/X7BtnClickStyle"
  38. android:layout_below="@id/ll_register_password"
  39. android:layout_centerHorizontal="true"
  40. android:layout_marginTop="20dp"
  41. android:text="@string/x7_register_immediately" />
  42. <TextView
  43. android:id="@+id/tv_user_agreement"
  44. android:layout_width="wrap_content"
  45. android:layout_height="wrap_content"
  46. android:layout_below="@id/btn_register_user"
  47. android:layout_centerHorizontal="true"
  48. android:layout_marginTop="20dp"
  49. android:clickable="true"
  50. android:drawablePadding="8dp"
  51. android:focusable="true"
  52. android:textColor="@color/x7_text_green" />
  53. </RelativeLayout>