Newer
Older
IrisClient / app / src / main / res / layout / activity_game_master.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:id="@+id/HintAmount"
  6. android:layout_width="match_parent"
  7. android:layout_height="match_parent"
  8. tools:context=".GameMasterActivity">
  9.  
  10. <Button
  11. android:id="@+id/finishGuessButton"
  12. android:layout_width="159dp"
  13. android:layout_height="38dp"
  14. android:text="推測終了"
  15. android:focusable="false"
  16. app:layout_constraintBottom_toBottomOf="parent"
  17. app:layout_constraintEnd_toEndOf="parent"
  18. app:layout_constraintStart_toEndOf="@+id/timeTextView" />
  19.  
  20. <TextView
  21. android:id="@+id/timeTextView"
  22. android:layout_width="131dp"
  23. android:layout_height="35dp"
  24. android:gravity="center_horizontal"
  25. android:text="00 : 00"
  26. app:layout_constraintBottom_toBottomOf="parent"
  27. app:layout_constraintEnd_toEndOf="parent"
  28. app:layout_constraintStart_toStartOf="parent" />
  29.  
  30. <androidx.fragment.app.FragmentContainerView
  31. android:id="@+id/container"
  32. android:layout_width="490dp"
  33. android:layout_height="272dp"
  34. app:layout_constraintBottom_toBottomOf="parent"
  35. app:layout_constraintEnd_toEndOf="parent"
  36. app:layout_constraintHorizontal_bias="0.497"
  37. app:layout_constraintStart_toStartOf="parent"
  38. app:layout_constraintTop_toTopOf="parent"
  39. app:layout_constraintVertical_bias="0.64" />
  40.  
  41. <EditText
  42. android:id="@+id/GameHint"
  43. android:layout_width="282dp"
  44. android:layout_height="45dp"
  45. android:layout_marginStart="128dp"
  46. android:layout_marginTop="20dp"
  47. android:layout_marginEnd="9dp"
  48. android:layout_marginBottom="23dp"
  49. android:ems="10"
  50. android:hint="ヒントを入力"
  51. android:inputType="textPersonName"
  52. android:maxLength="10"
  53. app:layout_constraintBottom_toTopOf="@+id/include"
  54. app:layout_constraintEnd_toStartOf="@+id/GameHintMax"
  55. app:layout_constraintHorizontal_bias="0.5"
  56. app:layout_constraintStart_toStartOf="parent"
  57. app:layout_constraintTop_toTopOf="parent" />
  58.  
  59. <EditText
  60. android:id="@+id/GameHintMax"
  61. android:layout_width="48dp"
  62. android:layout_height="41dp"
  63. android:layout_marginStart="9dp"
  64. android:layout_marginTop="20dp"
  65. android:layout_marginEnd="264dp"
  66. android:layout_marginBottom="23dp"
  67. android:ems="10"
  68. android:hint="数"
  69. android:inputType="number"
  70. android:maxLength="1"
  71. android:imeOptions="actionDone"
  72. app:layout_constraintBottom_toTopOf="@+id/include"
  73. app:layout_constraintEnd_toEndOf="parent"
  74. app:layout_constraintHorizontal_bias="0.5"
  75. app:layout_constraintStart_toEndOf="@+id/GameHint"
  76. app:layout_constraintTop_toTopOf="parent" />
  77.  
  78. <Button
  79. android:id="@+id/SendHint"
  80. android:layout_width="wrap_content"
  81. android:layout_height="wrap_content"
  82. android:layout_marginStart="19dp"
  83. android:layout_marginTop="20dp"
  84. android:layout_marginEnd="152dp"
  85. android:layout_marginBottom="23dp"
  86. android:text="決定"
  87. app:layout_constraintBottom_toTopOf="@+id/include"
  88. app:layout_constraintEnd_toEndOf="parent"
  89. app:layout_constraintStart_toEndOf="@+id/GameHintMax"
  90. app:layout_constraintTop_toTopOf="parent" />
  91.  
  92.  
  93. <androidx.fragment.app.FragmentContainerView
  94. android:id="@+id/RedPlayerListContainer"
  95. layout="@layout/fragment_game_player_list"
  96. android:layout_width="90dp"
  97. android:layout_height="275dp"
  98. android:layout_marginStart="16dp"
  99. android:layout_marginTop="89dp"
  100. android:layout_marginEnd="14dp"
  101. android:layout_marginBottom="47dp"
  102. app:layout_constraintBottom_toBottomOf="parent"
  103. app:layout_constraintEnd_toStartOf="@+id/container"
  104. app:layout_constraintStart_toStartOf="parent"
  105. app:layout_constraintTop_toTopOf="parent" />
  106.  
  107. <androidx.fragment.app.FragmentContainerView
  108. android:id="@+id/BluePlayerListContainer"
  109. layout="@layout/fragment_game_player_list"
  110. android:layout_width="90dp"
  111. android:layout_height="275dp"
  112. android:layout_marginTop="89dp"
  113. android:layout_marginEnd="16dp"
  114. android:layout_marginBottom="9dp"
  115. app:layout_constraintBottom_toTopOf="@+id/finishGuessButton"
  116. app:layout_constraintEnd_toEndOf="parent"
  117. app:layout_constraintHorizontal_bias="1.0"
  118. app:layout_constraintStart_toEndOf="@+id/container"
  119. app:layout_constraintTop_toTopOf="parent"
  120. app:layout_constraintVertical_bias="0.0" />
  121. </androidx.constraintlayout.widget.ConstraintLayout>