Newer
Older
NemophilaClient / app / src / main / res / layout / activity_sign_up.xml
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout 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=".SignUpActivity">
  9.  
  10. <EditText
  11. android:id="@+id/editTextTextUserName"
  12. android:layout_width="wrap_content"
  13. android:layout_height="wrap_content"
  14. android:layout_gravity="center_horizontal"
  15. android:layout_marginTop="160dp"
  16. android:autofillHints=""
  17. android:ems="10"
  18. android:hint="@string/username"
  19. android:inputType="textPersonName"
  20. android:minHeight="48dp"
  21. android:textColorHint="#757575" />
  22.  
  23. <EditText
  24. android:id="@+id/editTextTextNewPassword"
  25. android:layout_width="wrap_content"
  26. android:layout_height="wrap_content"
  27. android:layout_gravity="center_horizontal"
  28. android:layout_marginTop="2dp"
  29. android:autofillHints=""
  30. android:ems="10"
  31. android:hint="@string/password"
  32. android:inputType="textPassword"
  33. android:minHeight="48dp"
  34. android:textColorHint="#757575" />
  35.  
  36. <Button
  37. android:id="@+id/SignUpButton"
  38. android:layout_width="wrap_content"
  39. android:layout_height="wrap_content"
  40. android:layout_gravity="center_horizontal"
  41. android:layout_marginTop="5dp"
  42. android:text="新規アカウント作成" />
  43.  
  44. <Button
  45. android:id="@+id/LoginTrans"
  46. android:layout_width="wrap_content"
  47. android:layout_height="wrap_content"
  48. android:layout_gravity="center_horizontal"
  49. android:layout_marginTop="50dp"
  50. android:background="@color/teal_200"
  51. android:backgroundTint="@color/teal_200"
  52. android:text="ログインページへ"
  53. app:rippleColor="#3F51B5" />
  54. </LinearLayout>