Newer
Older
IrisClient / app / src / main / res / layout / activity_enter_room.xml
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <androidx.constraintlayout.widget.ConstraintLayout 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. tools:context=".EnterRoomActivity">
  8.  
  9. <Button
  10. android:id="@+id/EntryRoomButton"
  11. android:layout_width="wrap_content"
  12. android:layout_height="wrap_content"
  13. android:text="ルームに入る"
  14. app:layout_constraintBottom_toBottomOf="parent"
  15. app:layout_constraintEnd_toEndOf="parent"
  16. app:layout_constraintHorizontal_bias="0.499"
  17. app:layout_constraintStart_toStartOf="parent"
  18. app:layout_constraintTop_toTopOf="parent"
  19. app:layout_constraintVertical_bias="0.873" />
  20.  
  21.  
  22. <TextView
  23. android:id="@+id/nicknameTextView"
  24. android:layout_width="wrap_content"
  25. android:layout_height="wrap_content"
  26. android:text="ルームに入る前に、あなたのニックネームを設定してください"
  27. app:layout_constraintBottom_toBottomOf="parent"
  28. app:layout_constraintEnd_toEndOf="parent"
  29. app:layout_constraintStart_toStartOf="parent"
  30. app:layout_constraintTop_toTopOf="parent"
  31. app:layout_constraintVertical_bias="0.125" />
  32.  
  33. <EditText
  34. android:id="@+id/nicknameEditText"
  35. android:layout_width="279dp"
  36. android:layout_height="54dp"
  37. android:ems="10"
  38. android:gravity="center"
  39. android:hint="ニックネームを入力してください"
  40. android:inputType="textPersonName"
  41. android:maxLength="15"
  42. android:maxLines="1"
  43. app:layout_constraintBottom_toBottomOf="parent"
  44. app:layout_constraintEnd_toEndOf="parent"
  45. app:layout_constraintStart_toStartOf="parent"
  46. app:layout_constraintTop_toBottomOf="@+id/nicknameTextView"
  47. app:layout_constraintVertical_bias="0.084" />
  48.  
  49. <TextView
  50. android:id="@+id/roomIdTextView"
  51. android:layout_width="wrap_content"
  52. android:layout_height="wrap_content"
  53. android:text="部屋番号を入力してください"
  54. app:layout_constraintBottom_toBottomOf="parent"
  55. app:layout_constraintEnd_toEndOf="parent"
  56. app:layout_constraintHorizontal_bias="0.499"
  57. app:layout_constraintStart_toStartOf="parent"
  58. app:layout_constraintTop_toTopOf="parent"
  59. app:layout_constraintVertical_bias="0.461" />
  60.  
  61. <EditText
  62. android:id="@+id/roomIdEditText"
  63. android:layout_width="279dp"
  64. android:layout_height="54dp"
  65. android:ems="10"
  66. android:gravity="center"
  67. android:hint="部屋番号を入力してください"
  68. android:inputType="text"
  69. android:maxLength="40"
  70. android:maxLines="1"
  71. app:layout_constraintBottom_toBottomOf="parent"
  72. app:layout_constraintEnd_toEndOf="parent"
  73. app:layout_constraintStart_toStartOf="parent"
  74. app:layout_constraintTop_toBottomOf="@+id/roomIdTextView"
  75. app:layout_constraintVertical_bias="0.172" />
  76.  
  77. <ImageButton
  78. android:id="@+id/backButton"
  79. android:layout_width="45dp"
  80. android:layout_height="44dp"
  81. android:padding="0dp"
  82. android:scaleType="fitCenter"
  83. app:layout_constraintBottom_toBottomOf="parent"
  84. app:layout_constraintEnd_toEndOf="parent"
  85. app:layout_constraintHorizontal_bias="0.037"
  86. app:layout_constraintStart_toStartOf="parent"
  87. app:layout_constraintTop_toTopOf="parent"
  88. app:layout_constraintVertical_bias="0.043"
  89. app:srcCompat="@drawable/backbottom" />
  90.  
  91. </androidx.constraintlayout.widget.ConstraintLayout>